Location: Model of excitation-contraction in uterine myocytes from a pregnant rat @ 1451a14f3fbe / Components / cppEqs.cellml

Author:
WeiweiAi <wai484@aucklanduni.ac.nz>
Date:
2022-01-20 12:46:30+13:00
Desc:
revert the scaling in the currents
Permanent Source URI:
https://models.physiomeproject.org/workspace/701/rawfile/1451a14f3fbe8fd7aacd0d0a73d87cec591b26de/Components/cppEqs.cellml

<?xml version='1.0' encoding='UTF-8'?>
<model name="cpp" xmlns="http://www.cellml.org/cellml/1.1#" xmlns:cellml="http://www.cellml.org/cellml/1.1#">
    <!-- Your code goes here-->
    <component name="I_CaL">
        <math xmlns="http://www.w3.org/1998/Math/MathML">
            <apply>
                <eq/>
                <ci>ICaL_d_steady_state</ci>
                <apply>
                    <divide/>
                    <cn cellml:units="dimensionless">1</cn>
                    <apply>
                        <plus/>
                        <cn cellml:units="dimensionless">1</cn>
                        <apply>
                            <exp/>
                            <apply>
                                <divide/>
                                <apply>
                                    <minus/>
                                    <apply>
                                        <plus/>
                                        <ci>V</ci>
                                        <cn cellml:units="dimensionless">22</cn>
                                    </apply>
                                </apply>
                                <cn cellml:units="dimensionless">7</cn>
                            </apply>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>ICaL_d_Tau</ci>
                <apply>
                    <plus/>
                    <cn cellml:units="dimensionless">2.29</cn>
                    <apply>
                        <divide/>
                        <cn cellml:units="dimensionless">5.7</cn>
                        <apply>
                            <plus/>
                            <cn cellml:units="dimensionless">1</cn>
                            <apply>
                                <power/>
                                <apply>
                                    <divide/>
                                    <apply>
                                        <plus/>
                                        <ci>V</ci>
                                        <cn cellml:units="dimensionless">29.97</cn>
                                    </apply>
                                    <cn cellml:units="dimensionless">9</cn>
                                </apply>
                                <cn cellml:units="dimensionless">2</cn>
                            </apply>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>ICaL_f_steady_state</ci>
                <apply>
                    <divide/>
                    <cn cellml:units="dimensionless">1</cn>
                    <apply>
                        <plus/>
                        <cn cellml:units="dimensionless">1</cn>
                        <apply>
                            <exp/>
                            <apply>
                                <divide/>
                                <apply>
                                    <plus/>
                                    <ci>V</ci>
                                    <cn cellml:units="dimensionless">33</cn>
                                </apply>
                                <cn cellml:units="dimensionless">7</cn>
                            </apply>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>ICaL_f2_Tau</ci>
                <apply>
                    <minus/>
                    <cn cellml:units="dimensionless">90.97</cn>
                    <apply>
                        <divide/>
                        <cn cellml:units="dimensionless">90.97</cn>
                        <apply>
                            <times/>
                            <apply>
                                <plus/>
                                <cn cellml:units="dimensionless">1</cn>
                                <apply>
                                    <exp/>
                                    <apply>
                                        <divide/>
                                        <apply>
                                            <plus/>
                                            <ci>V</ci>
                                            <cn cellml:units="dimensionless">13.96</cn>
                                        </apply>
                                        <cn cellml:units="dimensionless">45.38</cn>
                                    </apply>
                                </apply>
                            </apply>
                            <apply>
                                <plus/>
                                <cn cellml:units="dimensionless">1</cn>
                                <apply>
                                    <exp/>
                                    <apply>
                                        <divide/>
                                        <apply>
                                            <minus/>
                                            <apply>
                                                <plus/>
                                                <ci>V</ci>
                                                <cn cellml:units="dimensionless">9.5</cn>
                                            </apply>
                                        </apply>
                                        <cn cellml:units="dimensionless">3.39</cn>
                                    </apply>
                                </apply>
                            </apply>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>Hill</ci>
                <apply>
                    <divide/>
                    <cn cellml:units="dimensionless">1</cn>
                    <apply>
                        <plus/>
                        <cn cellml:units="dimensionless">1</cn>
                        <apply>
                            <power/>
                            <apply>
                                <divide/>
                                <ci>nif</ci>
                                <ci>IC50_nif</ci>
                            </apply>
                            <cn cellml:units="dimensionless">1</cn>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>I_CaL</ci>
                <apply>
                    <times/>
                    <apply>
                        <divide/>
                        <apply>
                            <times/>
                            <ci>gCaL</ci>
                            <apply>
                                <power/>
                                <ci>ICaL_d</ci>
                                <cn cellml:units="dimensionless">2</cn>
                            </apply>
                            <cn cellml:units="dimensionless">1</cn>
                        </apply>
                        <apply>
                            <plus/>
                            <cn cellml:units="dimensionless">1</cn>
                            <apply>
                                <power/>
                                <apply>
                                    <divide/>
                                    <ci>Cai</ci>
                                    <ci>KmCaL</ci>
                                </apply>
                                <cn cellml:units="dimensionless">1</cn>
                            </apply>
                        </apply>
                    </apply>
                    <apply>
                        <power/>
                        <apply>
                            <plus/>
                            <apply>
                                <times/>
                                <cn cellml:units="dimensionless">0.8</cn>
                                <ci>ICaL_f1</ci>
                            </apply>
                            <apply>
                                <times/>
                                <cn cellml:units="dimensionless">0.2</cn>
                                <ci>ICaL_f2</ci>
                            </apply>
                        </apply>
                        <cn cellml:units="dimensionless">1</cn>
                    </apply>
                    <apply>
                        <minus/>
                        <ci>V</ci>
                        <ci>ECaL</ci>
                    </apply>
                </apply>
            </apply>
        </math>
    </component>
    <component name="I_CaT">
        <math xmlns="http://www.w3.org/1998/Math/MathML">
            <apply>
                <eq/>
                <ci>ICaT_b_steady_state</ci>
                <apply>
                    <divide/>
                    <cn cellml:units="dimensionless">1</cn>
                    <apply>
                        <plus/>
                        <cn cellml:units="dimensionless">1</cn>
                        <apply>
                            <exp/>
                            <apply>
                                <divide/>
                                <apply>
                                    <minus/>
                                    <apply>
                                        <plus/>
                                        <ci>V</ci>
                                        <cn cellml:units="dimensionless">43</cn>
                                    </apply>
                                </apply>
                                <cn cellml:units="dimensionless">6</cn>
                            </apply>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <!--best fit to data 14xxxx. This provides closest IV curve, despite being odd fit to activation-->
            <apply>
                <eq/>
                <ci>ICaT_b_Tau</ci>
                <apply>
                    <plus/>
                    <cn cellml:units="dimensionless">0.45</cn>
                    <apply>
                        <divide/>
                        <cn cellml:units="dimensionless">3.9</cn>
                        <apply>
                            <plus/>
                            <cn cellml:units="dimensionless">1</cn>
                            <apply>
                                <divide/>
                                <apply>
                                    <times/>
                                    <apply>
                                        <divide/>
                                        <apply>
                                            <plus/>
                                            <ci>V</ci>
                                            <cn cellml:units="dimensionless">66</cn>
                                        </apply>
                                        <cn cellml:units="dimensionless">26</cn>
                                    </apply>
                                    <apply>
                                        <plus/>
                                        <ci>V</ci>
                                        <cn cellml:units="dimensionless">66</cn>
                                    </apply>
                                </apply>
                                <cn cellml:units="dimensionless">26</cn>
                            </apply>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>ICaT_g_steady_state</ci>
                <apply>
                    <plus/>
                    <cn cellml:units="dimensionless">0.02</cn>
                    <apply>
                        <divide/>
                        <cn cellml:units="dimensionless">0.98</cn>
                        <apply>
                            <plus/>
                            <cn cellml:units="dimensionless">1</cn>
                            <apply>
                                <exp/>
                                <apply>
                                    <divide/>
                                    <apply>
                                        <plus/>
                                        <ci>V</ci>
                                        <cn cellml:units="dimensionless">72.98</cn>
                                    </apply>
                                    <cn cellml:units="dimensionless">4.64</cn>
                                </apply>
                            </apply>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>ICaT_g_Tau</ci>
                <apply>
                    <minus/>
                    <cn cellml:units="dimensionless">150</cn>
                    <apply>
                        <divide/>
                        <cn cellml:units="dimensionless">150</cn>
                        <apply>
                            <times/>
                            <apply>
                                <plus/>
                                <cn cellml:units="dimensionless">1</cn>
                                <apply>
                                    <exp/>
                                    <apply>
                                        <divide/>
                                        <apply>
                                            <minus/>
                                            <ci>V</ci>
                                            <cn cellml:units="dimensionless">417.43</cn>
                                        </apply>
                                        <cn cellml:units="dimensionless">203.18</cn>
                                    </apply>
                                </apply>
                            </apply>
                            <apply>
                                <plus/>
                                <cn cellml:units="dimensionless">1</cn>
                                <apply>
                                    <exp/>
                                    <apply>
                                        <divide/>
                                        <apply>
                                            <minus/>
                                            <apply>
                                                <plus/>
                                                <ci>V</ci>
                                                <cn cellml:units="dimensionless">61.11</cn>
                                            </apply>
                                        </apply>
                                        <cn cellml:units="dimensionless">8.07</cn>
                                    </apply>
                                </apply>
                            </apply>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>I_CaT</ci>
                <apply>
                    <times/>
                    <ci>gCaT</ci>
                    <apply>
                        <power/>
                        <ci>ICaT_b</ci>
                        <cn cellml:units="dimensionless">2</cn>
                    </apply>
                    <apply>
                        <power/>
                        <ci>ICaT_g</ci>
                        <cn cellml:units="dimensionless">1</cn>
                    </apply>
                    <apply>
                        <minus/>
                        <ci>V</ci>
                        <ci>ECaT</ci>
                    </apply>
                </apply>
            </apply>
        </math>
    </component>
    <component name="I_Na">
        <math xmlns="http://www.w3.org/1998/Math/MathML">
            <apply>
                <eq/>
                <ci>INa_m_steady_state</ci>
                <apply>
                    <divide/>
                    <cn cellml:units="dimensionless">1</cn>
                    <apply>
                        <plus/>
                        <cn cellml:units="dimensionless">1</cn>
                        <apply>
                            <exp/>
                            <apply>
                                <divide/>
                                <apply>
                                    <minus/>
                                    <apply>
                                        <plus/>
                                        <ci>V</ci>
                                        <cn cellml:units="dimensionless">35.</cn>
                                    </apply>
                                </apply>
                                <cn cellml:units="dimensionless">9</cn>
                            </apply>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>INa_m_Tau</ci>
                <apply>
                    <plus/>
                    <cn cellml:units="dimensionless">0.25</cn>
                    <apply>
                        <divide/>
                        <cn cellml:units="dimensionless">7</cn>
                        <apply>
                            <plus/>
                            <cn cellml:units="dimensionless">1</cn>
                            <apply>
                                <exp/>
                                <apply>
                                    <divide/>
                                    <apply>
                                        <plus/>
                                        <ci>V</ci>
                                        <cn cellml:units="dimensionless">38</cn>
                                    </apply>
                                    <cn cellml:units="dimensionless">10</cn>
                                </apply>
                            </apply>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>INa_h_steady_state</ci>
                <apply>
                    <divide/>
                    <cn cellml:units="dimensionless">1</cn>
                    <apply>
                        <plus/>
                        <cn cellml:units="dimensionless">1</cn>
                        <apply>
                            <exp/>
                            <apply>
                                <divide/>
                                <apply>
                                    <plus/>
                                    <ci>V</ci>
                                    <cn cellml:units="dimensionless">57</cn>
                                </apply>
                                <cn cellml:units="dimensionless">8.5</cn>
                            </apply>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>INa_h_Tau</ci>
                <apply>
                    <plus/>
                    <cn cellml:units="dimensionless">0.9</cn>
                    <apply>
                        <divide/>
                        <cn cellml:units="dimensionless">1002.85</cn>
                        <apply>
                            <plus/>
                            <cn cellml:units="dimensionless">1</cn>
                            <apply>
                                <divide/>
                                <apply>
                                    <times/>
                                    <apply>
                                        <divide/>
                                        <apply>
                                            <plus/>
                                            <ci>V</ci>
                                            <cn cellml:units="dimensionless">47.5</cn>
                                        </apply>
                                        <cn cellml:units="dimensionless">1.5</cn>
                                    </apply>
                                    <apply>
                                        <plus/>
                                        <ci>V</ci>
                                        <cn cellml:units="dimensionless">47.5</cn>
                                    </apply>
                                </apply>
                                <cn cellml:units="dimensionless">1.5</cn>
                            </apply>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>I_Na</ci>
                <apply>
                    <times/>
                    <ci>gNa</ci>
                    <apply>
                        <power/>
                        <ci>INa_m</ci>
                        <cn cellml:units="dimensionless">3</cn>
                    </apply>
                    <apply>
                        <power/>
                        <ci>INa_h</ci>
                        <cn cellml:units="dimensionless">1</cn>
                    </apply>
                    <apply>
                        <minus/>
                        <ci>V</ci>
                        <ci>ENa</ci>
                    </apply>
                </apply>
            </apply>
        </math>
    </component>
    <component name="I_K1">
        <math xmlns="http://www.w3.org/1998/Math/MathML">
            <apply>
                <eq/>
                <ci>IK1_q_steady_state</ci>
                <apply>
                    <divide/>
                    <cn cellml:units="dimensionless">1</cn>
                    <apply>
                        <plus/>
                        <cn cellml:units="dimensionless">1</cn>
                        <apply>
                            <exp/>
                            <apply>
                                <divide/>
                                <apply>
                                    <minus/>
                                    <apply>
                                        <minus/>
                                        <ci>V</ci>
                                        <cn cellml:units="dimensionless">7.7</cn>
                                    </apply>
                                </apply>
                                <cn cellml:units="dimensionless">23.7</cn>
                            </apply>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>IK1_q_Tau</ci>
                <apply>
                    <divide/>
                    <cn cellml:units="dimensionless">500</cn>
                    <apply>
                        <plus/>
                        <cn cellml:units="dimensionless">1</cn>
                        <apply>
                            <divide/>
                            <apply>
                                <times/>
                                <apply>
                                    <divide/>
                                    <apply>
                                        <plus/>
                                        <ci>V</ci>
                                        <cn cellml:units="dimensionless">60.71</cn>
                                    </apply>
                                    <cn cellml:units="dimensionless">15.79</cn>
                                </apply>
                                <apply>
                                    <plus/>
                                    <ci>V</ci>
                                    <cn cellml:units="dimensionless">60.71</cn>
                                </apply>
                            </apply>
                            <cn cellml:units="dimensionless">15.79</cn>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>IK1_r_steady_state</ci>
                <apply>
                    <divide/>
                    <cn cellml:units="dimensionless">1</cn>
                    <apply>
                        <plus/>
                        <cn cellml:units="dimensionless">1</cn>
                        <apply>
                            <exp/>
                            <apply>
                                <divide/>
                                <apply>
                                    <plus/>
                                    <ci>V</ci>
                                    <cn cellml:units="dimensionless">63</cn>
                                </apply>
                                <cn cellml:units="dimensionless">6.3</cn>
                            </apply>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>IK1_r1_Tau</ci>
                <apply>
                    <divide/>
                    <cn cellml:units="dimensionless" type="e-notation">5<sep/>3</cn>
                    <apply>
                        <plus/>
                        <cn cellml:units="dimensionless">1</cn>
                        <apply>
                            <divide/>
                            <apply>
                                <times/>
                                <apply>
                                    <divide/>
                                    <apply>
                                        <plus/>
                                        <ci>V</ci>
                                        <cn cellml:units="dimensionless">62.71</cn>
                                    </apply>
                                    <cn cellml:units="dimensionless">35.86</cn>
                                </apply>
                                <apply>
                                    <plus/>
                                    <ci>V</ci>
                                    <cn cellml:units="dimensionless">62.71</cn>
                                </apply>
                            </apply>
                            <cn cellml:units="dimensionless">35.86</cn>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>IK1_r2_Tau</ci>
                <apply>
                    <plus/>
                    <cn cellml:units="dimensionless" type="e-notation">3<sep/>4</cn>
                    <apply>
                        <divide/>
                        <cn cellml:units="dimensionless" type="e-notation">2.2<sep/>5</cn>
                        <apply>
                            <plus/>
                            <cn cellml:units="dimensionless">1</cn>
                            <apply>
                                <exp/>
                                <apply>
                                    <divide/>
                                    <apply>
                                        <plus/>
                                        <ci>V</ci>
                                        <cn cellml:units="dimensionless">22</cn>
                                    </apply>
                                    <cn cellml:units="dimensionless">4</cn>
                                </apply>
                            </apply>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>I_K1</ci>
                <apply>
                    <times/>
                    <ci>gK1</ci>
                    <apply>
                        <power/>
                        <ci>IK1_q</ci>
                        <cn cellml:units="dimensionless">1</cn>
                    </apply>
                    <apply>
                        <power/>
                        <apply>
                            <plus/>
                            <apply>
                                <times/>
                                <cn cellml:units="dimensionless">0.38</cn>
                                <ci>IK1_r1</ci>
                            </apply>
                            <apply>
                                <times/>
                                <cn cellml:units="dimensionless">0.62</cn>
                                <ci>IK1_r2</ci>
                            </apply>
                        </apply>
                        <cn cellml:units="dimensionless">1</cn>
                    </apply>
                    <apply>
                        <minus/>
                        <ci>V</ci>
                        <ci>EK</ci>
                    </apply>
                </apply>
            </apply>
        </math>
    </component>
    <component name="I_K2">
        <math xmlns="http://www.w3.org/1998/Math/MathML">
            <apply>
                <eq/>
                <ci>IK2_p_steady_state</ci>
                <apply>
                    <divide/>
                    <cn cellml:units="dimensionless">1</cn>
                    <apply>
                        <plus/>
                        <cn cellml:units="dimensionless">1</cn>
                        <apply>
                            <exp/>
                            <apply>
                                <divide/>
                                <apply>
                                    <minus/>
                                    <apply>
                                        <minus/>
                                        <ci>V</ci>
                                        <cn cellml:units="dimensionless">4.2</cn>
                                    </apply>
                                </apply>
                                <cn cellml:units="dimensionless">23</cn>
                            </apply>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>IK2_p_Tau</ci>
                <apply>
                    <divide/>
                    <cn cellml:units="dimensionless">100</cn>
                    <apply>
                        <plus/>
                        <cn cellml:units="dimensionless">1</cn>
                        <apply>
                            <divide/>
                            <apply>
                                <times/>
                                <apply>
                                    <divide/>
                                    <apply>
                                        <plus/>
                                        <ci>V</ci>
                                        <cn cellml:units="dimensionless">64.1</cn>
                                    </apply>
                                    <cn cellml:units="dimensionless">28.67</cn>
                                </apply>
                                <apply>
                                    <plus/>
                                    <ci>V</ci>
                                    <cn cellml:units="dimensionless">64.1</cn>
                                </apply>
                            </apply>
                            <cn cellml:units="dimensionless">28.67</cn>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>IK2_k_steady_state</ci>
                <apply>
                    <divide/>
                    <cn cellml:units="dimensionless">1</cn>
                    <apply>
                        <plus/>
                        <cn cellml:units="dimensionless">1</cn>
                        <apply>
                            <exp/>
                            <apply>
                                <divide/>
                                <apply>
                                    <plus/>
                                    <ci>V</ci>
                                    <cn cellml:units="dimensionless">21.2</cn>
                                </apply>
                                <cn cellml:units="dimensionless">5.7</cn>
                            </apply>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>IK2_k1_Tau</ci>
                <apply>
                    <minus/>
                    <cn cellml:units="dimensionless" type="e-notation">1<sep/>6</cn>
                    <apply>
                        <divide/>
                        <cn cellml:units="dimensionless" type="e-notation">1<sep/>6</cn>
                        <apply>
                            <times/>
                            <apply>
                                <plus/>
                                <cn cellml:units="dimensionless">1</cn>
                                <apply>
                                    <exp/>
                                    <apply>
                                        <divide/>
                                        <apply>
                                            <minus/>
                                            <ci>V</ci>
                                            <cn cellml:units="dimensionless">315</cn>
                                        </apply>
                                        <cn cellml:units="dimensionless">50</cn>
                                    </apply>
                                </apply>
                            </apply>
                            <apply>
                                <plus/>
                                <cn cellml:units="dimensionless">1</cn>
                                <apply>
                                    <exp/>
                                    <apply>
                                        <divide/>
                                        <apply>
                                            <minus/>
                                            <apply>
                                                <plus/>
                                                <ci>V</ci>
                                                <cn cellml:units="dimensionless">74.9</cn>
                                            </apply>
                                        </apply>
                                        <cn cellml:units="dimensionless">8</cn>
                                    </apply>
                                </apply>
                            </apply>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>IK2_k2_Tau</ci>
                <apply>
                    <minus/>
                    <cn cellml:units="dimensionless" type="e-notation">2.5<sep/>6</cn>
                    <apply>
                        <divide/>
                        <cn cellml:units="dimensionless" type="e-notation">2.5<sep/>6</cn>
                        <apply>
                            <times/>
                            <apply>
                                <plus/>
                                <cn cellml:units="dimensionless">1</cn>
                                <apply>
                                    <exp/>
                                    <apply>
                                        <divide/>
                                        <apply>
                                            <minus/>
                                            <ci>V</ci>
                                            <cn cellml:units="dimensionless">132.87</cn>
                                        </apply>
                                        <cn cellml:units="dimensionless">25.4</cn>
                                    </apply>
                                </apply>
                            </apply>
                            <apply>
                                <plus/>
                                <cn cellml:units="dimensionless">1</cn>
                                <apply>
                                    <exp/>
                                    <apply>
                                        <divide/>
                                        <apply>
                                            <minus/>
                                            <apply>
                                                <plus/>
                                                <ci>V</ci>
                                                <cn cellml:units="dimensionless">24.92</cn>
                                            </apply>
                                        </apply>
                                        <cn cellml:units="dimensionless">2.68</cn>
                                    </apply>
                                </apply>
                            </apply>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>I_K2</ci>
                <apply>
                    <times/>
                    <ci>gK2</ci>
                    <ci>IK2_p</ci>
                    <apply>
                        <plus/>
                        <apply>
                            <times/>
                            <cn cellml:units="dimensionless">0.75</cn>
                            <ci>IK2_k1</ci>
                        </apply>
                        <apply>
                            <times/>
                            <cn cellml:units="dimensionless">0.25</cn>
                            <ci>IK2_k2</ci>
                        </apply>
                    </apply>
                    <apply>
                        <minus/>
                        <ci>V</ci>
                        <ci>EK</ci>
                    </apply>
                </apply>
            </apply>
        </math>
    </component>
    <component name="I_KA">
        <math xmlns="http://www.w3.org/1998/Math/MathML">
            <apply>
                <eq/>
                <ci>IKA_s_steady_state</ci>
                <apply>
                    <divide/>
                    <cn cellml:units="dimensionless">1</cn>
                    <apply>
                        <plus/>
                        <cn cellml:units="dimensionless">1</cn>
                        <apply>
                            <exp/>
                            <apply>
                                <divide/>
                                <apply>
                                    <minus/>
                                    <apply>
                                        <plus/>
                                        <ci>V</ci>
                                        <cn cellml:units="dimensionless">27.79</cn>
                                    </apply>
                                </apply>
                                <cn cellml:units="dimensionless">7.57</cn>
                            </apply>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>IKA_s_Tau</ci>
                <apply>
                    <divide/>
                    <cn cellml:units="dimensionless">17</cn>
                    <apply>
                        <plus/>
                        <cn cellml:units="dimensionless">1</cn>
                        <apply>
                            <divide/>
                            <apply>
                                <times/>
                                <apply>
                                    <divide/>
                                    <apply>
                                        <plus/>
                                        <ci>V</ci>
                                        <cn cellml:units="dimensionless">20.52</cn>
                                    </apply>
                                    <cn cellml:units="dimensionless">35</cn>
                                </apply>
                                <apply>
                                    <plus/>
                                    <ci>V</ci>
                                    <cn cellml:units="dimensionless">20.52</cn>
                                </apply>
                            </apply>
                            <cn cellml:units="dimensionless">35</cn>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>IKA_x_steady_state</ci>
                <apply>
                    <plus/>
                    <cn cellml:units="dimensionless">0.3293</cn>
                    <apply>
                        <divide/>
                        <cn cellml:units="dimensionless">0.71165</cn>
                        <apply>
                            <plus/>
                            <cn cellml:units="dimensionless">1</cn>
                            <apply>
                                <exp/>
                                <apply>
                                    <divide/>
                                    <apply>
                                        <plus/>
                                        <ci>V</ci>
                                        <cn cellml:units="dimensionless">53.919</cn>
                                    </apply>
                                    <cn cellml:units="dimensionless">7.8111</cn>
                                </apply>
                            </apply>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>IKA_x_Tau</ci>
                <apply>
                    <plus/>
                    <cn cellml:units="dimensionless">7.5</cn>
                    <apply>
                        <divide/>
                        <cn cellml:units="dimensionless">10</cn>
                        <apply>
                            <plus/>
                            <cn cellml:units="dimensionless">1</cn>
                            <apply>
                                <power/>
                                <apply>
                                    <divide/>
                                    <apply>
                                        <plus/>
                                        <ci>V</ci>
                                        <cn cellml:units="dimensionless">34.18</cn>
                                    </apply>
                                    <cn cellml:units="dimensionless">120</cn>
                                </apply>
                                <cn cellml:units="dimensionless">2</cn>
                            </apply>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>I_KA</ci>
                <apply>
                    <times/>
                    <ci>gKA</ci>
                    <apply>
                        <power/>
                        <ci>IKA_s</ci>
                        <cn cellml:units="dimensionless">1</cn>
                    </apply>
                    <apply>
                        <exp/>
                        <apply>
                            <power/>
                            <ci>IKA_x</ci>
                            <cn cellml:units="dimensionless">1</cn>
                        </apply>
                    </apply>
                    <apply>
                        <minus/>
                        <ci>V</ci>
                        <ci>EK</ci>
                    </apply>
                </apply>
            </apply>
        </math>
    </component>
    <component name="I_KCa">
        <math xmlns="http://www.w3.org/1998/Math/MathML">
            <apply>
                <eq/>
                <ci>iKCa</ci>
                <apply>
                    <times/>
                    <cn cellml:units="dimensionless" type="e-notation">1<sep/>4</cn>
                    <ci>PBKCa</ci>
                    <ci>V</ci>
                    <apply>
                        <divide/>
                        <apply>
                            <times/>
                            <ci>Faraday</ci>
                            <ci>Faraday</ci>
                        </apply>
                        <apply>
                            <times/>
                            <ci>R</ci>
                            <ci>Temperature</ci>
                        </apply>
                    </apply>
                    <apply>
                        <divide/>
                        <apply>
                            <minus/>
                            <ci>Ko</ci>
                            <apply>
                                <times/>
                                <ci>Ki</ci>
                                <apply>
                                    <plus/>
                                    <cn cellml:units="dimensionless">1</cn>
                                    <apply>
                                        <divide/>
                                        <apply>
                                            <times/>
                                            <ci>V</ci>
                                            <ci>Faraday</ci>
                                        </apply>
                                        <apply>
                                            <times/>
                                            <ci>R</ci>
                                            <ci>Temperature</ci>
                                        </apply>
                                    </apply>
                                    <apply>
                                        <divide/>
                                        <apply>
                                            <power/>
                                            <apply>
                                                <divide/>
                                                <apply>
                                                    <times/>
                                                    <ci>V</ci>
                                                    <ci>Faraday</ci>
                                                </apply>
                                                <apply>
                                                    <times/>
                                                    <ci>R</ci>
                                                    <ci>Temperature</ci>
                                                </apply>
                                            </apply>
                                            <cn cellml:units="dimensionless">2</cn>
                                        </apply>
                                        <cn cellml:units="dimensionless">2</cn>
                                    </apply>
                                    <apply>
                                        <divide/>
                                        <apply>
                                            <power/>
                                            <apply>
                                                <divide/>
                                                <apply>
                                                    <times/>
                                                    <ci>V</ci>
                                                    <ci>Faraday</ci>
                                                </apply>
                                                <apply>
                                                    <times/>
                                                    <ci>R</ci>
                                                    <ci>Temperature</ci>
                                                </apply>
                                            </apply>
                                            <cn cellml:units="dimensionless">3</cn>
                                        </apply>
                                        <cn cellml:units="dimensionless">6</cn>
                                    </apply>
                                </apply>
                            </apply>
                        </apply>
                        <apply>
                            <minus/>
                            <cn cellml:units="dimensionless">1</cn>
                            <apply>
                                <plus/>
                                <cn cellml:units="dimensionless">1</cn>
                                <apply>
                                    <divide/>
                                    <apply>
                                        <times/>
                                        <ci>V</ci>
                                        <ci>Faraday</ci>
                                    </apply>
                                    <apply>
                                        <times/>
                                        <ci>R</ci>
                                        <ci>Temperature</ci>
                                    </apply>
                                </apply>
                                <apply>
                                    <divide/>
                                    <apply>
                                        <power/>
                                        <apply>
                                            <divide/>
                                            <apply>
                                                <times/>
                                                <ci>V</ci>
                                                <ci>Faraday</ci>
                                            </apply>
                                            <apply>
                                                <times/>
                                                <ci>R</ci>
                                                <ci>Temperature</ci>
                                            </apply>
                                        </apply>
                                        <cn cellml:units="dimensionless">2</cn>
                                    </apply>
                                    <cn cellml:units="dimensionless">2</cn>
                                </apply>
                                <apply>
                                    <divide/>
                                    <apply>
                                        <power/>
                                        <apply>
                                            <divide/>
                                            <apply>
                                                <times/>
                                                <ci>V</ci>
                                                <ci>Faraday</ci>
                                            </apply>
                                            <apply>
                                                <times/>
                                                <ci>R</ci>
                                                <ci>Temperature</ci>
                                            </apply>
                                        </apply>
                                        <cn cellml:units="dimensionless">3</cn>
                                    </apply>
                                    <cn cellml:units="dimensionless">6</cn>
                                </apply>
                            </apply>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>iKCa</ci>
                <apply>
                    <divide/>
                    <apply>
                        <times/>
                        <apply>
                            <divide/>
                            <apply>
                                <times/>
                                <cn cellml:units="dimensionless" type="e-notation">1<sep/>4</cn>
                                <ci>PBKCa</ci>
                                <ci>V</ci>
                                <ci>Faraday</ci>
                                <ci>Faraday</ci>
                            </apply>
                            <apply>
                                <times/>
                                <ci>R</ci>
                                <ci>Temperature</ci>
                            </apply>
                        </apply>
                        <apply>
                            <minus/>
                            <ci>Ko</ci>
                            <apply>
                                <times/>
                                <ci>Ki</ci>
                                <apply>
                                    <exp/>
                                    <apply>
                                        <divide/>
                                        <apply>
                                            <times/>
                                            <ci>V</ci>
                                            <ci>Faraday</ci>
                                        </apply>
                                        <apply>
                                            <times/>
                                            <ci>R</ci>
                                            <ci>Temperature</ci>
                                        </apply>
                                    </apply>
                                </apply>
                            </apply>
                        </apply>
                    </apply>
                    <apply>
                        <minus/>
                        <cn cellml:units="dimensionless">1</cn>
                        <apply>
                            <exp/>
                            <apply>
                                <divide/>
                                <apply>
                                    <times/>
                                    <ci>V</ci>
                                    <ci>Faraday</ci>
                                </apply>
                                <apply>
                                    <times/>
                                    <ci>R</ci>
                                    <ci>Temperature</ci>
                                </apply>
                            </apply>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>PKCa</ci>
                <apply>
                    <plus/>
                    <apply>
                        <times/>
                        <cn cellml:units="dimensionless">0.17</cn>
                        <ci>IKCa_pf</ci>
                    </apply>
                    <apply>
                        <times/>
                        <cn cellml:units="dimensionless">0.83</cn>
                        <ci>IKCa_ps</ci>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>V_KCa_half</ci>
                <apply>
                    <minus/>
                    <apply>
                        <times/>
                        <apply>
                            <minus/>
                            <cn cellml:units="dimensionless">41.7</cn>
                        </apply>
                        <apply>
                            <log/>
                            <logbase>
                                <cn cellml:units="dimensionless">10</cn>
                            </logbase>
                            <ci>Cai</ci>
                        </apply>
                    </apply>
                    <cn cellml:units="dimensionless">128.2</cn>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>IKCa_p_steady_state</ci>
                <apply>
                    <divide/>
                    <cn cellml:units="dimensionless">1</cn>
                    <apply>
                        <plus/>
                        <cn cellml:units="dimensionless">1</cn>
                        <apply>
                            <exp/>
                            <apply>
                                <divide/>
                                <apply>
                                    <minus/>
                                    <apply>
                                        <minus/>
                                        <ci>V</ci>
                                        <ci>V_KCa_half</ci>
                                    </apply>
                                </apply>
                                <cn cellml:units="dimensionless">18.25</cn>
                            </apply>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>IKCa_pf_Tau</ci>
                <cn cellml:units="dimensionless">0.84</cn>
            </apply>
            <apply>
                <eq/>
                <ci>IKCa_ps_Tau</ci>
                <cn cellml:units="dimensionless">35.9</cn>
            </apply>
            <apply>
                <eq/>
                <ci>I_KCa</ci>
                <apply>
                    <divide/>
                    <apply>
                        <times/>
                        <ci>Cell_Area</ci>
                        <ci>NBKCa</ci>
                        <ci>PKCa</ci>
                        <ci>iKCa</ci>
                    </apply>
                    <cn cellml:units="dimensionless">100</cn>
                </apply>
            </apply>
        </math>
    </component>
    <component name="I_h">
        <math xmlns="http://www.w3.org/1998/Math/MathML">
            <apply>
                <eq/>
                <ci>Eh</ci>
                <apply>
                    <times/>
                    <apply>
                        <divide/>
                        <apply>
                            <times/>
                            <ci>R</ci>
                            <ci>Temperature</ci>
                        </apply>
                        <ci>Faraday</ci>
                    </apply>
                    <apply>
                        <log/>
                        <apply>
                            <divide/>
                            <apply>
                                <plus/>
                                <ci>Ko</ci>
                                <apply>
                                    <times/>
                                    <apply>
                                        <divide/>
                                        <ci>PNa</ci>
                                        <ci>PK</ci>
                                    </apply>
                                    <ci>Nao</ci>
                                </apply>
                            </apply>
                            <apply>
                                <plus/>
                                <ci>Ki</ci>
                                <apply>
                                    <times/>
                                    <apply>
                                        <divide/>
                                        <ci>PNa</ci>
                                        <ci>PK</ci>
                                    </apply>
                                    <ci>Nai</ci>
                                </apply>
                            </apply>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>Ih_y_steady_state</ci>
                <apply>
                    <divide/>
                    <cn cellml:units="dimensionless">1</cn>
                    <apply>
                        <plus/>
                        <cn cellml:units="dimensionless">1</cn>
                        <apply>
                            <exp/>
                            <apply>
                                <divide/>
                                <apply>
                                    <plus/>
                                    <ci>V</ci>
                                    <cn cellml:units="dimensionless">105.39</cn>
                                </apply>
                                <cn cellml:units="dimensionless">8.66</cn>
                            </apply>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>Ih_y_Tau</ci>
                <apply>
                    <divide/>
                    <cn cellml:units="dimensionless">1</cn>
                    <apply>
                        <plus/>
                        <apply>
                            <times/>
                            <cn cellml:units="dimensionless" type="e-notation">3.5<sep/>-6</cn>
                            <apply>
                                <exp/>
                                <apply>
                                    <times/>
                                    <apply>
                                        <minus/>
                                        <cn cellml:units="dimensionless">0.0497</cn>
                                    </apply>
                                    <ci>V</ci>
                                </apply>
                            </apply>
                        </apply>
                        <apply>
                            <times/>
                            <cn cellml:units="dimensionless">0.04</cn>
                            <apply>
                                <exp/>
                                <apply>
                                    <times/>
                                    <cn cellml:units="dimensionless">0.0521</cn>
                                    <ci>V</ci>
                                </apply>
                            </apply>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>Ih_y_Tau</ci>
                <apply>
                    <divide/>
                    <cn cellml:units="dimensionless">1</cn>
                    <apply>
                        <plus/>
                        <apply>
                            <times/>
                            <cn cellml:units="dimensionless" type="e-notation">3.5<sep/>-6</cn>
                            <apply>
                                <plus/>
                                <apply>
                                    <minus/>
                                    <cn cellml:units="dimensionless">1</cn>
                                    <apply>
                                        <times/>
                                        <cn cellml:units="dimensionless">0.0487</cn>
                                        <ci>V</ci>
                                    </apply>
                                </apply>
                                <apply>
                                    <divide/>
                                    <apply>
                                        <power/>
                                        <apply>
                                            <times/>
                                            <apply>
                                                <minus/>
                                                <cn cellml:units="dimensionless">0.0487</cn>
                                            </apply>
                                            <ci>V</ci>
                                        </apply>
                                        <cn cellml:units="dimensionless">2</cn>
                                    </apply>
                                    <cn cellml:units="dimensionless">2</cn>
                                </apply>
                                <apply>
                                    <divide/>
                                    <apply>
                                        <power/>
                                        <apply>
                                            <times/>
                                            <apply>
                                                <minus/>
                                                <cn cellml:units="dimensionless">0.0487</cn>
                                            </apply>
                                            <ci>V</ci>
                                        </apply>
                                        <cn cellml:units="dimensionless">3</cn>
                                    </apply>
                                    <cn cellml:units="dimensionless">6</cn>
                                </apply>
                            </apply>
                        </apply>
                        <apply>
                            <times/>
                            <cn cellml:units="dimensionless">0.04</cn>
                            <apply>
                                <plus/>
                                <cn cellml:units="dimensionless">1</cn>
                                <apply>
                                    <times/>
                                    <cn cellml:units="dimensionless">0.0521</cn>
                                    <ci>V</ci>
                                </apply>
                                <apply>
                                    <divide/>
                                    <apply>
                                        <power/>
                                        <apply>
                                            <times/>
                                            <cn cellml:units="dimensionless">0.0521</cn>
                                            <ci>V</ci>
                                        </apply>
                                        <cn cellml:units="dimensionless">2</cn>
                                    </apply>
                                    <cn cellml:units="dimensionless">2</cn>
                                </apply>
                                <apply>
                                    <divide/>
                                    <apply>
                                        <power/>
                                        <apply>
                                            <times/>
                                            <cn cellml:units="dimensionless">0.0521</cn>
                                            <ci>V</ci>
                                        </apply>
                                        <cn cellml:units="dimensionless">3</cn>
                                    </apply>
                                    <cn cellml:units="dimensionless">6</cn>
                                </apply>
                            </apply>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>I_h</ci>
                <apply>
                    <times/>
                    <ci>gh</ci>
                    <apply>
                        <power/>
                        <ci>Ih_y</ci>
                        <cn cellml:units="dimensionless">1</cn>
                    </apply>
                    <apply>
                        <minus/>
                        <ci>V</ci>
                        <ci>Eh</ci>
                    </apply>
                </apply>
            </apply>
        </math>
    </component>
    <component name="I_Cl">
        <math xmlns="http://www.w3.org/1998/Math/MathML">
            <apply>
                <eq/>
                <ci>ICl_c_steady_state</ci>
                <apply>
                    <divide/>
                    <cn cellml:units="dimensionless">1</cn>
                    <apply>
                        <plus/>
                        <cn cellml:units="dimensionless">1</cn>
                        <apply>
                            <exp/>
                            <apply>
                                <divide/>
                                <apply>
                                    <minus/>
                                    <apply>
                                        <minus/>
                                        <ci>V</ci>
                                        <cn cellml:units="dimensionless">44.08</cn>
                                    </apply>
                                </apply>
                                <cn cellml:units="dimensionless">13.7</cn>
                            </apply>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>ICl_c1_Tau</ci>
                <apply>
                    <minus/>
                    <cn cellml:units="dimensionless">24.</cn>
                    <apply>
                        <divide/>
                        <cn cellml:units="dimensionless">16.88</cn>
                        <apply>
                            <plus/>
                            <cn cellml:units="dimensionless">1</cn>
                            <apply>
                                <exp/>
                                <apply>
                                    <divide/>
                                    <apply>
                                        <minus/>
                                        <apply>
                                            <minus/>
                                            <ci>V</ci>
                                            <cn cellml:units="dimensionless">48.14</cn>
                                        </apply>
                                    </apply>
                                    <cn cellml:units="dimensionless">13.</cn>
                                </apply>
                            </apply>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>ICl_c2_Tau</ci>
                <apply>
                    <plus/>
                    <cn cellml:units="dimensionless">32.</cn>
                    <apply>
                        <divide/>
                        <cn cellml:units="dimensionless">81.54</cn>
                        <apply>
                            <plus/>
                            <cn cellml:units="dimensionless">1</cn>
                            <apply>
                                <exp/>
                                <apply>
                                    <divide/>
                                    <apply>
                                        <minus/>
                                        <apply>
                                            <plus/>
                                            <ci>V</ci>
                                            <cn cellml:units="dimensionless">43.51</cn>
                                        </apply>
                                    </apply>
                                    <cn cellml:units="dimensionless">39.5</cn>
                                </apply>
                            </apply>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>ICl_n_steady_state</ci>
                <apply>
                    <divide/>
                    <cn cellml:units="dimensionless">1</cn>
                    <apply>
                        <plus/>
                        <cn cellml:units="dimensionless">1</cn>
                        <apply>
                            <exp/>
                            <apply>
                                <divide/>
                                <apply>
                                    <plus/>
                                    <ci>V</ci>
                                    <cn cellml:units="dimensionless">56.97</cn>
                                </apply>
                                <cn cellml:units="dimensionless">20.29</cn>
                            </apply>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>ICl_n_Tau</ci>
                <cn cellml:units="dimensionless">0.69</cn>
            </apply>
            <apply>
                <eq/>
                <ci>gCl_value</ci>
                <apply>
                    <times/>
                    <ci>gCl</ci>
                    <apply>
                        <plus/>
                        <cn cellml:units="dimensionless">19.26</cn>
                        <apply>
                            <times/>
                            <cn cellml:units="dimensionless">365.8</cn>
                            <apply>
                                <exp/>
                                <apply>
                                    <times/>
                                    <cn cellml:units="dimensionless">0.0564</cn>
                                    <ci>V</ci>
                                </apply>
                            </apply>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <!--V<=-20-->
            <apply>
                <eq/>
                <ci>gCl_value</ci>
                <apply>
                    <times/>
                    <ci>gCl</ci>
                    <apply>
                        <plus/>
                        <cn cellml:units="dimensionless">0.752</cn>
                        <apply>
                            <times/>
                            <cn cellml:units="dimensionless">0.0349</cn>
                            <apply>
                                <exp/>
                                <apply>
                                    <times/>
                                    <apply>
                                        <minus/>
                                        <cn cellml:units="dimensionless">0.414</cn>
                                    </apply>
                                    <ci>V</ci>
                                </apply>
                            </apply>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>I_Cl</ci>
                <apply>
                    <times/>
                    <apply>
                        <divide/>
                        <apply>
                            <times/>
                            <ci>gCl_value</ci>
                            <ci>Cai</ci>
                        </apply>
                        <apply>
                            <plus/>
                            <ci>Cai</ci>
                            <ci>KdCl</ci>
                        </apply>
                    </apply>
                    <apply>
                        <root/>
                        <ci>ICl_c1</ci>
                    </apply>
                    <apply>
                        <minus/>
                        <ci>V</ci>
                        <ci>ECl_pos</ci>
                    </apply>
                </apply>
            </apply>
            <!-->0-->
            <apply>
                <eq/>
                <ci>I_Cl</ci>
                <apply>
                    <times/>
                    <apply>
                        <divide/>
                        <apply>
                            <times/>
                            <ci>gCl_value</ci>
                            <ci>Cai</ci>
                        </apply>
                        <apply>
                            <plus/>
                            <ci>Cai</ci>
                            <ci>KdCl</ci>
                        </apply>
                    </apply>
                    <apply>
                        <power/>
                        <ci>ICl_c2</ci>
                        <cn cellml:units="dimensionless">1</cn>
                    </apply>
                    <apply>
                        <power/>
                        <ci>ICl_n</ci>
                        <cn cellml:units="dimensionless">1</cn>
                    </apply>
                    <apply>
                        <minus/>
                        <ci>V</ci>
                        <ci>ECl_neg</ci>
                    </apply>
                </apply>
            </apply>
        </math>
    </component>
    <component name="I_Capump">
        <math xmlns="http://www.w3.org/1998/Math/MathML">
            <apply>
                <eq/>
                <ci>I_Capump</ci>
                <apply>
                    <divide/>
                    <apply>
                        <times/>
                        <apply>
                            <divide/>
                            <apply>
                                <times/>
                                <ci>zCa</ci>
                                <ci>Faraday</ci>
                                <ci>Cell_Volume</ci>
                            </apply>
                            <apply>
                                <times/>
                                <ci>Membrane_Capacitance</ci>
                                <ci>Cell_Area</ci>
                            </apply>
                        </apply>
                        <ci>JpCa</ci>
                    </apply>
                    <apply>
                        <plus/>
                        <cn cellml:units="dimensionless">1</cn>
                        <apply>
                            <power/>
                            <apply>
                                <divide/>
                                <ci>KpCa</ci>
                                <ci>Cai</ci>
                            </apply>
                            <ci>hpCa</ci>
                        </apply>
                    </apply>
                </apply>
            </apply>
        </math>
    </component>
    <component name="I_NaK">
        <math xmlns="http://www.w3.org/1998/Math/MathML">
            <apply>
                <eq/>
                <ci>kNaK</ci>
                <apply>
                    <divide/>
                    <cn cellml:units="dimensionless">1</cn>
                    <apply>
                        <plus/>
                        <cn cellml:units="dimensionless">1</cn>
                        <apply>
                            <power/>
                            <apply>
                                <divide/>
                                <ci>KdK</ci>
                                <ci>Ko</ci>
                            </apply>
                            <ci>nK</ci>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>nNaK</ci>
                <apply>
                    <divide/>
                    <cn cellml:units="dimensionless">1</cn>
                    <apply>
                        <plus/>
                        <cn cellml:units="dimensionless">1</cn>
                        <apply>
                            <power/>
                            <apply>
                                <divide/>
                                <ci>KdNa</ci>
                                <ci>Nai</ci>
                            </apply>
                            <ci>nNa</ci>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>fNaK</ci>
                <apply>
                    <divide/>
                    <cn cellml:units="dimensionless">1</cn>
                    <apply>
                        <plus/>
                        <cn cellml:units="dimensionless">1</cn>
                        <apply>
                            <times/>
                            <cn cellml:units="dimensionless">0.125</cn>
                            <apply>
                                <exp/>
                                <apply>
                                    <divide/>
                                    <apply>
                                        <times/>
                                        <apply>
                                            <minus/>
                                            <cn cellml:units="dimensionless">0.1</cn>
                                        </apply>
                                        <ci>V</ci>
                                        <ci>Faraday</ci>
                                    </apply>
                                    <apply>
                                        <times/>
                                        <ci>R</ci>
                                        <ci>Temperature</ci>
                                    </apply>
                                </apply>
                            </apply>
                        </apply>
                        <apply>
                            <times/>
                            <cn cellml:units="dimensionless">0.00219</cn>
                            <apply>
                                <exp/>
                                <apply>
                                    <divide/>
                                    <ci>Nao</ci>
                                    <cn cellml:units="dimensionless">49.71</cn>
                                </apply>
                            </apply>
                            <apply>
                                <exp/>
                                <apply>
                                    <divide/>
                                    <apply>
                                        <times/>
                                        <apply>
                                            <minus/>
                                            <cn cellml:units="dimensionless">1.9</cn>
                                        </apply>
                                        <ci>V</ci>
                                        <ci>Faraday</ci>
                                    </apply>
                                    <apply>
                                        <times/>
                                        <ci>R</ci>
                                        <ci>Temperature</ci>
                                    </apply>
                                </apply>
                            </apply>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>I_NaK</ci>
                <apply>
                    <times/>
                    <ci>gNaK</ci>
                    <ci>fNaK</ci>
                    <ci>kNaK</ci>
                    <ci>nNaK</ci>
                </apply>
            </apply>
        </math>
    </component>
    <component name="I_NaCa">
        <math xmlns="http://www.w3.org/1998/Math/MathML">
            <apply>
                <eq/>
                <ci>VF_RT</ci>
                <apply>
                    <divide/>
                    <apply>
                        <times/>
                        <ci>V</ci>
                        <ci>Faraday</ci>
                    </apply>
                    <apply>
                        <times/>
                        <ci>R</ci>
                        <ci>Temperature</ci>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>barrier</ci>
                <apply>
                    <exp/>
                    <apply>
                        <times/>
                        <ci>NaCa_energy_barrier</ci>
                        <ci>VF_RT</ci>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>barrier_1</ci>
                <apply>
                    <exp/>
                    <apply>
                        <times/>
                        <apply>
                            <minus/>
                            <ci>NaCa_energy_barrier</ci>
                            <cn cellml:units="dimensionless">1</cn>
                        </apply>
                        <ci>VF_RT</ci>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>Allo</ci>
                <apply>
                    <divide/>
                    <cn cellml:units="dimensionless">1</cn>
                    <apply>
                        <plus/>
                        <cn cellml:units="dimensionless">1</cn>
                        <apply>
                            <power/>
                            <apply>
                                <divide/>
                                <ci>KmAllo</ci>
                                <ci>Cai</ci>
                            </apply>
                            <ci>nallo</ci>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>E1</ci>
                <apply>
                    <minus/>
                    <apply>
                        <times/>
                        <ci>JNaCa</ci>
                        <apply>
                            <power/>
                            <ci>Nai</ci>
                            <cn cellml:units="dimensionless">3</cn>
                        </apply>
                        <ci>Cao</ci>
                        <ci>barrier</ci>
                    </apply>
                    <apply>
                        <times/>
                        <ci>JNaCa</ci>
                        <apply>
                            <power/>
                            <ci>Nao</ci>
                            <cn cellml:units="dimensionless">3</cn>
                        </apply>
                        <ci>Cai</ci>
                        <ci>barrier_1</ci>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>E2</ci>
                <apply>
                    <plus/>
                    <cn cellml:units="dimensionless">1</cn>
                    <apply>
                        <times/>
                        <ci>ksat</ci>
                        <ci>barrier_1</ci>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>E3</ci>
                <apply>
                    <plus/>
                    <apply>
                        <times/>
                        <ci>KmCao</ci>
                        <apply>
                            <power/>
                            <ci>Nai</ci>
                            <cn cellml:units="dimensionless">3</cn>
                        </apply>
                    </apply>
                    <apply>
                        <times/>
                        <apply>
                            <power/>
                            <ci>KmNao</ci>
                            <cn cellml:units="dimensionless">3</cn>
                        </apply>
                        <ci>Cai</ci>
                    </apply>
                    <apply>
                        <times/>
                        <apply>
                            <power/>
                            <ci>KmNai</ci>
                            <cn cellml:units="dimensionless">3</cn>
                        </apply>
                        <ci>Cao</ci>
                        <apply>
                            <plus/>
                            <cn cellml:units="dimensionless">1</cn>
                            <apply>
                                <divide/>
                                <ci>Cai</ci>
                                <ci>KmCai</ci>
                            </apply>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>E4</ci>
                <apply>
                    <plus/>
                    <apply>
                        <times/>
                        <ci>Cao</ci>
                        <apply>
                            <power/>
                            <ci>Nai</ci>
                            <cn cellml:units="dimensionless">3</cn>
                        </apply>
                    </apply>
                    <apply>
                        <times/>
                        <apply>
                            <power/>
                            <ci>Nao</ci>
                            <cn cellml:units="dimensionless">3</cn>
                        </apply>
                        <ci>Cai</ci>
                    </apply>
                    <apply>
                        <times/>
                        <apply>
                            <power/>
                            <ci>Nao</ci>
                            <cn cellml:units="dimensionless">3</cn>
                        </apply>
                        <ci>KmCai</ci>
                        <apply>
                            <plus/>
                            <cn cellml:units="dimensionless">1</cn>
                            <apply>
                                <divide/>
                                <apply>
                                    <power/>
                                    <ci>Nai</ci>
                                    <cn cellml:units="dimensionless">3</cn>
                                </apply>
                                <ci>KmNai</ci>
                            </apply>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>delta_E</ci>
                <apply>
                    <divide/>
                    <ci>E1</ci>
                    <apply>
                        <times/>
                        <ci>E2</ci>
                        <apply>
                            <plus/>
                            <ci>E3</ci>
                            <ci>E4</ci>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>INaCa_JNaCa</ci>
                <apply>
                    <times/>
                    <ci>Allo</ci>
                    <ci>delta_E</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>I_NaCa</ci>
                <apply>
                    <divide/>
                    <apply>
                        <times/>
                        <ci>INaCa_JNaCa</ci>
                        <ci>zCa</ci>
                        <ci>Cell_Volume</ci>
                        <ci>Faraday</ci>
                    </apply>
                    <apply>
                        <times/>
                        <ci>Cell_Area</ci>
                        <ci>Membrane_Capacitance</ci>
                    </apply>
                </apply>
            </apply>
        </math>
    </component>
    <component name="I_NaKCl">
        <math xmlns="http://www.w3.org/1998/Math/MathML">
            <apply>
                <eq/>
                <ci>I_NaKCl</ci>
                <apply>
                    <times/>
                    <apply>
                        <minus/>
                        <ci>RNaKCl</ci>
                    </apply>
                    <ci>zCl</ci>
                    <ci>Cell_Area</ci>
                    <ci>LNaKCl</ci>
                    <ci>R</ci>
                    <ci>Faraday</ci>
                    <ci>Temperature</ci>
                    <apply>
                        <log/>
                        <apply>
                            <times/>
                            <apply>
                                <divide/>
                                <apply>
                                    <times/>
                                    <ci>Nao</ci>
                                    <ci>Ko</ci>
                                </apply>
                                <apply>
                                    <times/>
                                    <ci>Nai</ci>
                                    <ci>Ki</ci>
                                </apply>
                            </apply>
                            <apply>
                                <power/>
                                <apply>
                                    <divide/>
                                    <ci>Clo</ci>
                                    <ci>Cli</ci>
                                </apply>
                                <cn cellml:units="dimensionless">2</cn>
                            </apply>
                        </apply>
                    </apply>
                </apply>
            </apply>
        </math>
    </component>
    <component name="I_SOC">
        <math xmlns="http://www.w3.org/1998/Math/MathML">
            <apply>
                <eq/>
                <ci>Psoc</ci>
                <apply>
                    <divide/>
                    <cn cellml:units="dimensionless">1</cn>
                    <apply>
                        <plus/>
                        <cn cellml:units="dimensionless">1</cn>
                        <apply>
                            <divide/>
                            <ci>Cai</ci>
                            <ci>Kmsoc</ci>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>IsocNa</ci>
                <apply>
                    <times/>
                    <ci>gsocNa</ci>
                    <ci>Psoc</ci>
                    <apply>
                        <minus/>
                        <ci>V</ci>
                        <ci>ENa</ci>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>IsocCa</ci>
                <apply>
                    <times/>
                    <ci>gsocCa</ci>
                    <ci>Psoc</ci>
                    <apply>
                        <minus/>
                        <ci>V</ci>
                        <ci>ECa</ci>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>I_SOC</ci>
                <apply>
                    <plus/>
                    <ci>IsocCa</ci>
                    <ci>IsocNa</ci>
                </apply>
            </apply>
        </math>
    </component>
    <component name="I_NSCC">
        <math xmlns="http://www.w3.org/1998/Math/MathML">
            <apply>
                <eq/>
                <ci>Ens</ci>
                <apply>
                    <times/>
                    <apply>
                        <divide/>
                        <apply>
                            <times/>
                            <ci>R</ci>
                            <ci>Temperature</ci>
                        </apply>
                        <ci>Faraday</ci>
                    </apply>
                    <apply>
                        <log/>
                        <apply>
                            <divide/>
                            <apply>
                                <plus/>
                                <apply>
                                    <times/>
                                    <ci>PNa_PCs</ci>
                                    <ci>Nao</ci>
                                </apply>
                                <apply>
                                    <times/>
                                    <ci>PK_PCs</ci>
                                    <ci>Ko</ci>
                                </apply>
                                <apply>
                                    <divide/>
                                    <apply>
                                        <times/>
                                        <cn cellml:units="dimensionless">4</cn>
                                        <ci>PCa_PCs</ci>
                                        <ci>Cao</ci>
                                        <ci>Cao</ci>
                                    </apply>
                                    <apply>
                                        <plus/>
                                        <cn cellml:units="dimensionless">1</cn>
                                        <apply>
                                            <exp/>
                                            <apply>
                                                <divide/>
                                                <apply>
                                                    <times/>
                                                    <ci>V</ci>
                                                    <ci>Faraday</ci>
                                                </apply>
                                                <apply>
                                                    <times/>
                                                    <ci>R</ci>
                                                    <ci>Temperature</ci>
                                                </apply>
                                            </apply>
                                        </apply>
                                    </apply>
                                </apply>
                            </apply>
                            <apply>
                                <plus/>
                                <apply>
                                    <times/>
                                    <ci>PNa_PCs</ci>
                                    <ci>Nai</ci>
                                </apply>
                                <apply>
                                    <times/>
                                    <ci>PK_PCs</ci>
                                    <ci>Ki</ci>
                                </apply>
                                <apply>
                                    <divide/>
                                    <apply>
                                        <times/>
                                        <cn cellml:units="dimensionless">4</cn>
                                        <ci>PCa_PCs</ci>
                                        <ci>Cai</ci>
                                        <ci>Cai</ci>
                                    </apply>
                                    <apply>
                                        <plus/>
                                        <cn cellml:units="dimensionless">1</cn>
                                        <apply>
                                            <exp/>
                                            <apply>
                                                <divide/>
                                                <apply>
                                                    <times/>
                                                    <ci>V</ci>
                                                    <ci>Faraday</ci>
                                                </apply>
                                                <apply>
                                                    <times/>
                                                    <ci>R</ci>
                                                    <ci>Temperature</ci>
                                                </apply>
                                            </apply>
                                        </apply>
                                    </apply>
                                </apply>
                            </apply>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <!--should there be a permeability of calcium-->
            <!--factor in here near PCa_PCs? if so, what is it?-->
            <apply>
                <eq/>
                <ci>Inscc_fMg_steady_state</ci>
                <apply>
                    <plus/>
                    <cn cellml:units="dimensionless">0.1</cn>
                    <apply>
                        <divide/>
                        <cn cellml:units="dimensionless">0.9</cn>
                        <apply>
                            <plus/>
                            <cn cellml:units="dimensionless">1</cn>
                            <apply>
                                <power/>
                                <apply>
                                    <divide/>
                                    <ci>Mgo</ci>
                                    <ci>KdMg</ci>
                                </apply>
                                <cn cellml:units="dimensionless">1.3</cn>
                            </apply>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>gnscc_Ca</ci>
                <apply>
                    <divide/>
                    <apply>
                        <divide/>
                        <cn cellml:units="dimensionless">0.03</cn>
                        <apply>
                            <plus/>
                            <cn cellml:units="dimensionless">1</cn>
                            <apply>
                                <power/>
                                <apply>
                                    <divide/>
                                    <cn cellml:units="dimensionless">150</cn>
                                    <apply>
                                        <plus/>
                                        <ci>Cao</ci>
                                        <cn cellml:units="dimensionless" type="e-notation">1<sep/>-8</cn>
                                    </apply>
                                </apply>
                                <cn cellml:units="dimensionless">2</cn>
                            </apply>
                        </apply>
                    </apply>
                    <cn cellml:units="dimensionless">0.000525</cn>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>gnscc_Na</ci>
                <apply>
                    <divide/>
                    <apply>
                        <divide/>
                        <cn cellml:units="dimensionless">0.03</cn>
                        <apply>
                            <plus/>
                            <cn cellml:units="dimensionless">1</cn>
                            <apply>
                                <power/>
                                <apply>
                                    <divide/>
                                    <cn cellml:units="dimensionless">150</cn>
                                    <apply>
                                        <plus/>
                                        <ci>Nao</ci>
                                        <cn cellml:units="dimensionless" type="e-notation">1<sep/>-8</cn>
                                    </apply>
                                </apply>
                                <cn cellml:units="dimensionless">2</cn>
                            </apply>
                        </apply>
                    </apply>
                    <cn cellml:units="dimensionless">0.0123</cn>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>gnscc_K</ci>
                <apply>
                    <divide/>
                    <apply>
                        <divide/>
                        <cn cellml:units="dimensionless">0.03</cn>
                        <apply>
                            <plus/>
                            <cn cellml:units="dimensionless">1</cn>
                            <apply>
                                <power/>
                                <apply>
                                    <divide/>
                                    <cn cellml:units="dimensionless">150</cn>
                                    <apply>
                                        <plus/>
                                        <ci>Ko</ci>
                                        <cn cellml:units="dimensionless" type="e-notation">1<sep/>-8</cn>
                                    </apply>
                                </apply>
                                <cn cellml:units="dimensionless">2</cn>
                            </apply>
                        </apply>
                    </apply>
                    <cn cellml:units="dimensionless">0.0123</cn>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>InsCa</ci>
                <apply>
                    <times/>
                    <ci>InsCa_mag</ci>
                    <cn cellml:units="dimensionless">0.15</cn>
                    <ci>Inscc_fMg_steady_state</ci>
                    <ci>gnscc_Ca</ci>
                    <ci>gns</ci>
                    <apply>
                        <minus/>
                        <ci>V</ci>
                        <ci>Ens</ci>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>InsNa</ci>
                <apply>
                    <times/>
                    <ci>InsNa_mag</ci>
                    <ci>Inscc_fMg_steady_state</ci>
                    <ci>gnscc_Na</ci>
                    <ci>gns</ci>
                    <apply>
                        <minus/>
                        <ci>V</ci>
                        <ci>Ens</ci>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>InsK</ci>
                <apply>
                    <times/>
                    <ci>InsK_mag</ci>
                    <cn cellml:units="dimensionless">1.19</cn>
                    <ci>Inscc_fMg_steady_state</ci>
                    <ci>gnscc_K</ci>
                    <ci>gns</ci>
                    <apply>
                        <minus/>
                        <ci>V</ci>
                        <ci>Ens</ci>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>Insleak</ci>
                <apply>
                    <times/>
                    <ci>Insleak_mag</ci>
                    <ci>g_leak</ci>
                    <apply>
                        <minus/>
                        <ci>V</ci>
                        <ci>Ens</ci>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>I_NSCC</ci>
                <apply>
                    <plus/>
                    <ci>InsCa</ci>
                    <ci>InsNa</ci>
                    <ci>InsK</ci>
                    <ci>Insleak</ci>
                </apply>
            </apply>
        </math>
    </component>
    <component name="ISR">
        <math xmlns="http://www.w3.org/1998/Math/MathML">
            <apply>
                <eq/>
                <ci>Iup</ci>
                <apply>
                    <divide/>
                    <apply>
                        <times/>
                        <ci>Iup_max</ci>
                        <ci>Cai</ci>
                    </apply>
                    <apply>
                        <plus/>
                        <ci>Cai</ci>
                        <ci>Kmup</ci>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>Itr</ci>
                <apply>
                    <divide/>
                    <apply>
                        <times/>
                        <apply>
                            <minus/>
                            <ci>Ca_u</ci>
                            <ci>Ca_r</ci>
                        </apply>
                        <ci>zCa</ci>
                        <ci>Faraday</ci>
                        <ci>vol_u</ci>
                        <ci>conc_red</ci>
                    </apply>
                    <ci>tau_tr</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>Irel</ci>
                <apply>
                    <divide/>
                    <apply>
                        <times/>
                        <ci>Frel</ci>
                        <apply>
                            <plus/>
                            <apply>
                                <times/>
                                <ci>R10</ci>
                                <ci>R10</ci>
                            </apply>
                            <ci>Rleak</ci>
                        </apply>
                        <apply>
                            <minus/>
                            <ci>Ca_r</ci>
                            <ci>Cai</ci>
                        </apply>
                        <ci>zCa</ci>
                        <ci>Faraday</ci>
                        <ci>vol_r</ci>
                        <ci>conc_red</ci>
                    </apply>
                    <ci>tau_rel</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <apply>
                    <diff/>
                    <bvar>
                        <ci>t</ci>
                    </bvar>
                    <ci>Ca_u</ci>
                </apply>
                <apply>
                    <divide/>
                    <apply>
                        <minus/>
                        <ci>Iup</ci>
                        <ci>Itr</ci>
                    </apply>
                    <apply>
                        <times/>
                        <ci>zCa</ci>
                        <ci>Faraday</ci>
                        <ci>vol_u</ci>
                        <ci>conc_red</ci>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <apply>
                    <diff/>
                    <bvar>
                        <ci>t</ci>
                    </bvar>
                    <ci>Ca_r</ci>
                </apply>
                <apply>
                    <times/>
                    <apply>
                        <divide/>
                        <apply>
                            <minus/>
                            <ci>Itr</ci>
                            <ci>Irel</ci>
                        </apply>
                        <apply>
                            <times/>
                            <ci>zCa</ci>
                            <ci>Faraday</ci>
                            <ci>vol_r</ci>
                            <ci>conc_red</ci>
                        </apply>
                    </apply>
                    <apply>
                        <power/>
                        <apply>
                            <plus/>
                            <cn cellml:units="dimensionless">1</cn>
                            <apply>
                                <divide/>
                                <apply>
                                    <times/>
                                    <ci>CSQN</ci>
                                    <ci>K_CSQN</ci>
                                </apply>
                                <apply>
                                    <power/>
                                    <apply>
                                        <plus/>
                                        <ci>K_CSQN</ci>
                                        <ci>Ca_r</ci>
                                    </apply>
                                    <cn cellml:units="dimensionless">2</cn>
                                </apply>
                            </apply>
                        </apply>
                        <apply>
                            <minus/>
                            <cn cellml:units="dimensionless">1</cn>
                        </apply>
                    </apply>
                </apply>
            </apply>
        </math>
    </component>
    <component name="Itotal">
        <math xmlns="http://www.w3.org/1998/Math/MathML">
            <apply>
                <eq/>
                <ci>Itotal</ci>
                <apply>
                    <plus/>
                    <apply>
                        <times/>
                        <ci>Ih_mag</ci>
                        <ci>Ih</ci>
                    </apply>
                    <apply>
                        <times/>
                        <ci>ICaL_mag</ci>
                        <ci>ICaL_nif</ci>
                    </apply>
                    <apply>
                        <times/>
                        <ci>ICaT_mag</ci>
                        <ci>ICaT</ci>
                    </apply>
                    <apply>
                        <times/>
                        <ci>INa_mag</ci>
                        <ci>INa</ci>
                    </apply>
                    <apply>
                        <times/>
                        <ci>IK1_mag</ci>
                        <ci>IK1</ci>
                    </apply>
                    <apply>
                        <times/>
                        <ci>IK2_mag</ci>
                        <ci>IK2</ci>
                    </apply>
                    <apply>
                        <times/>
                        <ci>IKA_mag</ci>
                        <ci>IKA</ci>
                    </apply>
                    <apply>
                        <times/>
                        <ci>IKCa_mag</ci>
                        <ci>IKCa</ci>
                    </apply>
                    <apply>
                        <times/>
                        <ci>Inscc_mag</ci>
                        <ci>Inscc</ci>
                    </apply>
                    <apply>
                        <times/>
                        <ci>ICl_mag</ci>
                        <ci>ICl</ci>
                    </apply>
                    <apply>
                        <times/>
                        <ci>ICapump_mag</ci>
                        <ci>ICapump</ci>
                    </apply>
                    <apply>
                        <times/>
                        <ci>INaK_mag</ci>
                        <ci>INaK</ci>
                    </apply>
                    <apply>
                        <times/>
                        <ci>INaCa_mag</ci>
                        <ci>INaCa</ci>
                    </apply>
                    <ci>Isus</ci>
                    <apply>
                        <times/>
                        <ci>Isoc_mag</ci>
                        <ci>Isoc</ci>
                    </apply>
                    <apply>
                        <times/>
                        <ci>IKleak_mag</ci>
                        <ci>IKleak</ci>
                    </apply>
                    <apply>
                        <times/>
                        <ci>INaKCl_mag</ci>
                        <ci>INaKCl</ci>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>ICa_tot</ci>
                <apply>
                    <minus/>
                    <apply>
                        <plus/>
                        <apply>
                            <minus/>
                            <apply>
                                <plus/>
                                <apply>
                                    <times/>
                                    <ci>ICaL_mag</ci>
                                    <ci>ICaL_nif</ci>
                                </apply>
                                <apply>
                                    <times/>
                                    <ci>ICaT_mag</ci>
                                    <ci>ICaT</ci>
                                </apply>
                            </apply>
                            <apply>
                                <times/>
                                <cn cellml:units="dimensionless">2</cn>
                                <ci>INaCa_mag</ci>
                                <ci>INaCa</ci>
                            </apply>
                        </apply>
                        <apply>
                            <times/>
                            <ci>InsCa_mag</ci>
                            <ci>InsCa</ci>
                        </apply>
                        <apply>
                            <times/>
                            <ci>IsocCa_mag</ci>
                            <ci>IsocCa</ci>
                        </apply>
                        <apply>
                            <times/>
                            <ci>ICapump_mag</ci>
                            <ci>ICapump</ci>
                        </apply>
                        <apply>
                            <times/>
                            <ci>Iup_mag</ci>
                            <ci>Iup</ci>
                        </apply>
                    </apply>
                    <apply>
                        <times/>
                        <ci>Irel_mag</ci>
                        <ci>Irel</ci>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <apply>
                    <diff/>
                    <bvar>
                        <ci>t</ci>
                    </bvar>
                    <ci>Cai</ci>
                </apply>
                <apply>
                    <times/>
                    <apply>
                        <divide/>
                        <apply>
                            <times/>
                            <apply>
                                <minus/>
                                <ci>Cell_Area</ci>
                            </apply>
                            <ci>Membrane_Capacitance</ci>
                        </apply>
                        <apply>
                            <times/>
                            <ci>zCa</ci>
                            <ci>Cell_Volume</ci>
                            <ci>Faraday</ci>
                        </apply>
                    </apply>
                    <ci>ICa_tot</ci>
                    <ci>CaBuffer</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>frac1</ci>
                <apply>
                    <divide/>
                    <apply>
                        <times/>
                        <ci>Scm</ci>
                        <ci>Kd</ci>
                    </apply>
                    <apply>
                        <power/>
                        <apply>
                            <plus/>
                            <ci>Kd</ci>
                            <ci>Cai</ci>
                        </apply>
                        <cn cellml:units="dimensionless">2</cn>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>frac2</ci>
                <apply>
                    <divide/>
                    <apply>
                        <times/>
                        <ci>Bf</ci>
                        <ci>Kdb</ci>
                    </apply>
                    <apply>
                        <power/>
                        <apply>
                            <plus/>
                            <ci>Kdb</ci>
                            <ci>Cai</ci>
                        </apply>
                        <cn cellml:units="dimensionless">2</cn>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>CaBuffer</ci>
                <apply>
                    <times/>
                    <ci>FBCa</ci>
                    <apply>
                        <power/>
                        <apply>
                            <plus/>
                            <cn cellml:units="dimensionless">1</cn>
                            <ci>frac1</ci>
                            <ci>frac2</ci>
                        </apply>
                        <apply>
                            <minus/>
                            <cn cellml:units="dimensionless">1</cn>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>IK_tot</ci>
                <apply>
                    <minus/>
                    <apply>
                        <plus/>
                        <apply>
                            <minus/>
                            <apply>
                                <plus/>
                                <apply>
                                    <times/>
                                    <ci>IK1_mag</ci>
                                    <ci>IK1</ci>
                                </apply>
                                <apply>
                                    <times/>
                                    <ci>IK2_mag</ci>
                                    <ci>IK2</ci>
                                </apply>
                                <apply>
                                    <times/>
                                    <ci>IKA_mag</ci>
                                    <ci>IKA</ci>
                                </apply>
                                <apply>
                                    <times/>
                                    <ci>IKCa_mag</ci>
                                    <ci>IKCa</ci>
                                </apply>
                            </apply>
                            <apply>
                                <times/>
                                <cn cellml:units="dimensionless">2</cn>
                                <ci>InsK_mag</ci>
                                <ci>InsK</ci>
                            </apply>
                        </apply>
                        <apply>
                            <times/>
                            <ci>IKleak_mag</ci>
                            <ci>IKleak</ci>
                        </apply>
                        <apply>
                            <times/>
                            <ci>INaKCl_mag</ci>
                            <ci>INaKCl</ci>
                        </apply>
                    </apply>
                    <apply>
                        <times/>
                        <cn cellml:units="dimensionless">2</cn>
                        <ci>INaK_mag</ci>
                        <ci>INaK</ci>
                    </apply>
                </apply>
            </apply>
        </math>
    </component>
    <component name="RR">
        <math xmlns="http://www.w3.org/1998/Math/MathML">
            <apply>
                <eq/>
                <apply>
                    <diff/>
                    <bvar>
                        <ci>t</ci>
                    </bvar>
                    <ci>R00</ci>
                </apply>
                <apply>
                    <times/>
                    <apply>
                        <minus/>
                        <apply>
                            <plus/>
                            <apply>
                                <times/>
                                <ci>Kr1</ci>
                                <ci>Cai</ci>
                            </apply>
                            <ci>Kr2</ci>
                        </apply>
                    </apply>
                    <ci>Cai</ci>
                    <ci>R00</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <apply>
                    <diff/>
                    <bvar>
                        <ci>t</ci>
                    </bvar>
                    <ci>R10</ci>
                </apply>
                <apply>
                    <plus/>
                    <apply>
                        <minus/>
                        <apply>
                            <times/>
                            <ci>Kr1</ci>
                            <ci>Cai</ci>
                            <ci>Cai</ci>
                            <ci>R00</ci>
                        </apply>
                        <apply>
                            <times/>
                            <apply>
                                <plus/>
                                <ci>K_r1</ci>
                                <apply>
                                    <times/>
                                    <ci>Kr2</ci>
                                    <ci>Cai</ci>
                                </apply>
                            </apply>
                            <ci>R10</ci>
                        </apply>
                    </apply>
                    <apply>
                        <times/>
                        <ci>K_r2</ci>
                        <ci>R11</ci>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <apply>
                    <diff/>
                    <bvar>
                        <ci>t</ci>
                    </bvar>
                    <ci>R01</ci>
                </apply>
                <apply>
                    <minus/>
                    <apply>
                        <plus/>
                        <apply>
                            <times/>
                            <ci>Kr2</ci>
                            <ci>Cai</ci>
                            <ci>R00</ci>
                        </apply>
                        <apply>
                            <times/>
                            <ci>K_r1</ci>
                            <ci>R11</ci>
                        </apply>
                    </apply>
                    <apply>
                        <times/>
                        <apply>
                            <plus/>
                            <ci>K_r2</ci>
                            <apply>
                                <times/>
                                <ci>Kr1</ci>
                                <ci>Cai</ci>
                                <ci>Cai</ci>
                            </apply>
                        </apply>
                        <ci>R01</ci>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <apply>
                    <diff/>
                    <bvar>
                        <ci>t</ci>
                    </bvar>
                    <ci>R11</ci>
                </apply>
                <apply>
                    <plus/>
                    <apply>
                        <minus/>
                        <apply>
                            <times/>
                            <ci>Kr2</ci>
                            <ci>Cai</ci>
                            <ci>R10</ci>
                        </apply>
                        <apply>
                            <times/>
                            <apply>
                                <plus/>
                                <ci>K_r1</ci>
                                <ci>K_r2</ci>
                            </apply>
                            <ci>R11</ci>
                        </apply>
                    </apply>
                    <apply>
                        <times/>
                        <ci>Kr1</ci>
                        <ci>Cai</ci>
                        <ci>Cai</ci>
                        <ci>R01</ci>
                    </apply>
                </apply>
            </apply>
        </math>
    </component>
    <component name="force">
        <math xmlns="http://www.w3.org/1998/Math/MathML">
            <apply>
                <eq/>
                <ci>Fp</ci>
                <apply>
                    <times/>
                    <ci>kp</ci>
                    <apply>
                        <minus/>
                        <apply>
                            <exp/>
                            <apply>
                                <divide/>
                                <apply>
                                    <times/>
                                    <ci>alpha_p</ci>
                                    <apply>
                                        <minus/>
                                        <ci>lc</ci>
                                        <ci>lc0</ci>
                                    </apply>
                                </apply>
                                <ci>lc0</ci>
                            </apply>
                        </apply>
                        <cn cellml:units="dimensionless">1</cn>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>Fx</ci>
                <apply>
                    <times/>
                    <apply>
                        <plus/>
                        <apply>
                            <times/>
                            <ci>kx1</ci>
                            <ci>AMp</ci>
                        </apply>
                        <apply>
                            <times/>
                            <ci>kx2</ci>
                            <ci>AM</ci>
                        </apply>
                    </apply>
                    <ci>lx</ci>
                    <apply>
                        <exp/>
                        <apply>
                            <times/>
                            <apply>
                                <minus/>
                                <ci>beta</ci>
                            </apply>
                            <apply>
                                <power/>
                                <apply>
                                    <divide/>
                                    <apply>
                                        <minus/>
                                        <ci>la</ci>
                                        <ci>lopt</ci>
                                    </apply>
                                    <ci>lopt</ci>
                                </apply>
                                <cn cellml:units="dimensionless">2</cn>
                            </apply>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>Fa</ci>
                <apply>
                    <times/>
                    <apply>
                        <plus/>
                        <apply>
                            <times/>
                            <ci>fAMp</ci>
                            <ci>AMp</ci>
                            <apply>
                                <plus/>
                                <ci>vx</ci>
                                <ci>la</ci>
                            </apply>
                        </apply>
                        <apply>
                            <times/>
                            <ci>fAM</ci>
                            <ci>AM</ci>
                            <ci>la</ci>
                        </apply>
                    </apply>
                    <apply>
                        <exp/>
                        <apply>
                            <times/>
                            <apply>
                                <minus/>
                                <ci>beta</ci>
                            </apply>
                            <apply>
                                <power/>
                                <apply>
                                    <divide/>
                                    <apply>
                                        <minus/>
                                        <apply>
                                            <minus/>
                                            <ci>la</ci>
                                        </apply>
                                        <ci>lopt</ci>
                                    </apply>
                                    <ci>lopt</ci>
                                </apply>
                                <cn cellml:units="dimensionless">2</cn>
                            </apply>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>Fs</ci>
                <ci>Fa</ci>
            </apply>
            <apply>
                <eq/>
                <ci>Ft</ci>
                <apply>
                    <plus/>
                    <ci>Fa</ci>
                    <ci>Fp</ci>
                </apply>
            </apply>
            <!-- Following lengths are initialised in main program-->
            <apply>
                <eq/>
                <ci>ls</ci>
                <apply>
                    <plus/>
                    <ci>ls</ci>
                    <apply>
                        <times/>
                        <apply>
                            <divide/>
                            <apply>
                                <times/>
                                <ci>dt</ci>
                                <cn cellml:units="dimensionless">1</cn>
                            </apply>
                            <ci>mu_s</ci>
                        </apply>
                        <apply>
                            <minus/>
                            <ci>Fs</ci>
                            <apply>
                                <times/>
                                <ci>ks</ci>
                                <apply>
                                    <minus/>
                                    <apply>
                                        <exp/>
                                        <apply>
                                            <divide/>
                                            <apply>
                                                <times/>
                                                <ci>alpha_s</ci>
                                                <apply>
                                                    <minus/>
                                                    <ci>ls</ci>
                                                    <ci>ls0</ci>
                                                </apply>
                                            </apply>
                                            <ci>ls0</ci>
                                        </apply>
                                    </apply>
                                    <cn cellml:units="dimensionless">1</cn>
                                </apply>
                            </apply>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>la</ci>
                <apply>
                    <plus/>
                    <ci>la</ci>
                    <apply>
                        <divide/>
                        <apply>
                            <times/>
                            <ci>dt</ci>
                            <apply>
                                <minus/>
                                <apply>
                                    <divide/>
                                    <ci>Fa</ci>
                                    <apply>
                                        <exp/>
                                        <apply>
                                            <times/>
                                            <apply>
                                                <minus/>
                                                <ci>beta</ci>
                                            </apply>
                                            <apply>
                                                <power/>
                                                <apply>
                                                    <divide/>
                                                    <apply>
                                                        <minus/>
                                                        <ci>la</ci>
                                                        <ci>lopt</ci>
                                                    </apply>
                                                    <ci>lopt</ci>
                                                </apply>
                                                <cn cellml:units="dimensionless">2</cn>
                                            </apply>
                                        </apply>
                                    </apply>
                                </apply>
                                <apply>
                                    <times/>
                                    <ci>fAMp</ci>
                                    <ci>AMp</ci>
                                    <ci>vx</ci>
                                </apply>
                            </apply>
                        </apply>
                        <apply>
                            <plus/>
                            <apply>
                                <times/>
                                <ci>fAM</ci>
                                <ci>AM</ci>
                            </apply>
                            <apply>
                                <times/>
                                <ci>fAMp</ci>
                                <ci>AMp</ci>
                            </apply>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>lx</ci>
                <apply>
                    <minus/>
                    <apply>
                        <minus/>
                        <ci>lc</ci>
                        <ci>la</ci>
                    </apply>
                    <ci>ls</ci>
                </apply>
            </apply>
        </math>
    </component>
    <component name="KCBC">
        <math xmlns="http://www.w3.org/1998/Math/MathML">
            <apply>
                <eq/>
                <ci>MLCK</ci>
                <apply>
                    <divide/>
                    <apply>
                        <times/>
                        <ci>Wortmannin</ci>
                        <ci>MLCK_max</ci>
                    </apply>
                    <apply>
                        <plus/>
                        <cn cellml:units="dimensionless">1</cn>
                        <apply>
                            <power/>
                            <apply>
                                <divide/>
                                <ci>Cai</ci>
                                <ci>K_MLCK</ci>
                            </apply>
                            <ci>pM</ci>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>K1</ci>
                <apply>
                    <divide/>
                    <ci>MLCK</ci>
                    <apply>
                        <plus/>
                        <cn cellml:units="dimensionless">1</cn>
                        <apply>
                            <power/>
                            <apply>
                                <divide/>
                                <ci>KCa_MLCK</ci>
                                <ci>Cai</ci>
                            </apply>
                            <ci>nM</ci>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>K6</ci>
                <ci>K1</ci>
            </apply>
            <apply>
                <eq/>
                <ci>M</ci>
                <apply>
                    <plus/>
                    <ci>M</ci>
                    <apply>
                        <times/>
                        <ci>dt</ci>
                        <apply>
                            <plus/>
                            <apply>
                                <times/>
                                <apply>
                                    <minus/>
                                    <ci>K1</ci>
                                </apply>
                                <ci>M</ci>
                            </apply>
                            <apply>
                                <times/>
                                <ci>K2</ci>
                                <ci>Mp</ci>
                            </apply>
                            <apply>
                                <times/>
                                <ci>K7</ci>
                                <ci>AM</ci>
                            </apply>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>Mp</ci>
                <apply>
                    <plus/>
                    <ci>Mp</ci>
                    <apply>
                        <times/>
                        <ci>dt</ci>
                        <apply>
                            <minus/>
                            <apply>
                                <plus/>
                                <apply>
                                    <times/>
                                    <ci>K4</ci>
                                    <ci>AMp</ci>
                                </apply>
                                <apply>
                                    <times/>
                                    <ci>K1</ci>
                                    <ci>M</ci>
                                </apply>
                            </apply>
                            <apply>
                                <times/>
                                <apply>
                                    <plus/>
                                    <ci>K2</ci>
                                    <ci>K3</ci>
                                </apply>
                                <ci>Mp</ci>
                            </apply>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>AMp</ci>
                <apply>
                    <plus/>
                    <ci>AMp</ci>
                    <apply>
                        <times/>
                        <ci>dt</ci>
                        <apply>
                            <minus/>
                            <apply>
                                <plus/>
                                <apply>
                                    <times/>
                                    <ci>K3</ci>
                                    <ci>Mp</ci>
                                </apply>
                                <apply>
                                    <times/>
                                    <ci>K6</ci>
                                    <ci>AM</ci>
                                </apply>
                            </apply>
                            <apply>
                                <times/>
                                <apply>
                                    <plus/>
                                    <ci>K4</ci>
                                    <ci>K5</ci>
                                </apply>
                                <ci>AMp</ci>
                            </apply>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>AM</ci>
                <apply>
                    <plus/>
                    <ci>AM</ci>
                    <apply>
                        <times/>
                        <ci>dt</ci>
                        <apply>
                            <minus/>
                            <apply>
                                <times/>
                                <ci>K5</ci>
                                <ci>AMp</ci>
                            </apply>
                            <apply>
                                <times/>
                                <apply>
                                    <plus/>
                                    <ci>K7</ci>
                                    <ci>K6</ci>
                                </apply>
                                <ci>AM</ci>
                            </apply>
                        </apply>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>Frac_phos</ci>
                <apply>
                    <plus/>
                    <ci>AMp</ci>
                    <ci>Mp</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>Frac_stress</ci>
                <apply>
                    <plus/>
                    <ci>AMp</ci>
                    <ci>AM</ci>
                </apply>
            </apply>
        </math>
    </component>
</model>