Rendering of the source text

<?xml version='1.0' encoding='UTF-8'?>
<model name="Clamped_current_Xi" xmlns="http://www.cellml.org/cellml/1.1#" xmlns:cellml="http://www.cellml.org/cellml/1.1#" xmlns:xlink="http://www.w3.org/1999/xlink">
    <import xlink:href="units.cellml">
        <units name="ms" units_ref="ms"/>
        <units name="mV" units_ref="mV"/>
        <units name="mM" units_ref="mM"/>
        <units name="pA" units_ref="pA"/>
        <units name="nS" units_ref="nS"/>
        <units name="per_ms" units_ref="per_ms"/>
        <units name="mM4" units_ref="mM4"/>
        <units name="pF" units_ref="pF"/>
        <units name="J_per_K_mol" units_ref="J_per_K_mol"/>
        <units name="C_per_mmol" units_ref="C_per_mmol"/>
    </import>
    <import xlink:href="ICaL_off.cellml">
        <component component_ref="ICaL" name="ICaL"/>
    </import>
    <import xlink:href="ICaT.cellml">
        <component component_ref="ICaT" name="ICaT"/>
    </import>
    <import xlink:href="IKv.cellml">
        <component component_ref="IKv" name="IKv"/>
    </import>
    <import xlink:href="IBK.cellml">
        <component component_ref="IBK" name="IBK"/>
    </import>
    <import xlink:href="INa.cellml">
        <component component_ref="INa" name="INa"/>
    </import>
    <import xlink:href="INCX.cellml">
        <component component_ref="INCX" name="INCX"/>
    </import>
    <import xlink:href="INaK.cellml">
        <component component_ref="INaK" name="INaK"/>
    </import>
    <import xlink:href="INS_Na.cellml">
        <component component_ref="INS_Na" name="INS_Na"/>
    </import>
    <import xlink:href="INS_K.cellml">
        <component component_ref="INS_K" name="INS_K"/>
    </import>
    <component name="Clamped_current_Xi">
        <variable name="time" private_interface="out" public_interface="in" units="ms"/>
        <variable name="V" private_interface="out" public_interface="in" units="mV"/>
        <variable name="I_ion" public_interface="out" units="pA"/>
        <variable name="I_CaL" private_interface="in" public_interface="out" units="pA"/>
        <variable name="I_CaT" private_interface="in" public_interface="out" units="pA"/>
        <variable name="I_Kv" private_interface="in" public_interface="out" units="pA"/>
        <variable name="I_BK" private_interface="in" public_interface="out" units="pA"/>
        <variable name="I_Na" private_interface="in" public_interface="out" units="pA"/>
        <variable name="I_NCX" private_interface="in" public_interface="out" units="pA"/>
        <variable name="I_NaK" private_interface="in" public_interface="out" units="pA"/>
        <variable name="I_NsNa" private_interface="in" public_interface="out" units="pA"/>
        <variable name="I_NsK" private_interface="in" public_interface="out" units="pA"/>
        <variable name="P_CaL" private_interface="in" public_interface="out" units="dimensionless"/>
        <variable name="P_CaT" private_interface="in" public_interface="out" units="dimensionless"/>
        <variable name="P_BK" private_interface="in" public_interface="out" units="dimensionless"/>
        <variable name="P_Kv" private_interface="in" public_interface="out" units="dimensionless"/>
        <variable name="P_Na" private_interface="in" public_interface="out" units="dimensionless"/>
        <variable name="g_CaL" private_interface="out" public_interface="in" units="nS"/>
        <variable name="R" private_interface="out" public_interface="in" units="J_per_K_mol"/>
        <variable name="T" private_interface="out" public_interface="in" units="kelvin"/>
        <variable name="F" private_interface="out" public_interface="in" units="C_per_mmol"/>
        <variable name="T0CaL" private_interface="out" public_interface="in" units="kelvin"/>
        <variable name="T0CaT" private_interface="out" public_interface="in" units="kelvin"/>
        <variable name="Q10Ca" private_interface="out" public_interface="in" units="dimensionless"/>
        <variable name="Cao" private_interface="out" public_interface="in" units="mM"/>
        <variable name="C0_init" private_interface="out" public_interface="in" units="dimensionless"/>
        <variable name="C1_init" private_interface="out" public_interface="in" units="dimensionless"/>
        <variable name="C2_init" private_interface="out" public_interface="in" units="dimensionless"/>
        <variable name="C3_init" private_interface="out" public_interface="in" units="dimensionless"/>
        <variable name="C0Ca_init" private_interface="out" public_interface="in" units="dimensionless"/>
        <variable name="C1Ca_init" private_interface="out" public_interface="in" units="dimensionless"/>
        <variable name="C2Ca_init" private_interface="out" public_interface="in" units="dimensionless"/>
        <variable name="C3Ca_init" private_interface="out" public_interface="in" units="dimensionless"/>
        <variable name="ICa_init" private_interface="out" public_interface="in" units="dimensionless"/>
        <variable name="IVs_init" private_interface="out" public_interface="in" units="dimensionless"/>
        <variable name="IVf_init" private_interface="out" public_interface="in" units="dimensionless"/>
        <variable name="IVfCa_init" private_interface="out" public_interface="in" units="dimensionless"/>
        <variable name="IVsCa_init" private_interface="out" public_interface="in" units="dimensionless"/>
        <variable name="O_CaL_init" private_interface="out" public_interface="in" units="dimensionless"/>
        <variable name="g_CaT" private_interface="out" public_interface="in" units="nS"/>
        <variable name="d_CaT_init" private_interface="out" public_interface="in" units="dimensionless"/>
        <variable name="d_CaT" private_interface="in" public_interface="out" units="dimensionless"/>
        <variable name="f_CaT_init" private_interface="out" public_interface="in" units="dimensionless"/>
        <variable name="f_CaT" private_interface="in" public_interface="out" units="dimensionless"/>
        <variable name="tau_dCaT" private_interface="out" public_interface="in" units="ms"/>
        <variable name="g_Kv" private_interface="out" public_interface="in" units="nS"/>
        <variable name="T0K" private_interface="out" public_interface="in" units="kelvin"/>
        <variable name="Q10K" private_interface="out" public_interface="in" units="dimensionless"/>
        <variable name="Ko" private_interface="out" public_interface="in" units="mM"/>
        <variable name="x_Kv_init" private_interface="out" public_interface="in" units="dimensionless"/>
        <variable name="x_Kv" private_interface="in" public_interface="out" units="dimensionless"/>
        <variable name="y_Kv_init" private_interface="out" public_interface="in" units="dimensionless"/>
        <variable name="y_Kv" private_interface="in" public_interface="out" units="dimensionless"/>
        <variable name="tau_xKv" private_interface="out" public_interface="in" units="ms"/>
        <variable name="tau_yKv" private_interface="out" public_interface="in" units="ms"/>
        <variable name="g_BK" private_interface="out" public_interface="in" units="nS"/>
        <variable name="BK_C0_init" private_interface="out" public_interface="in" units="dimensionless"/>
        <variable name="BK_C1_init" private_interface="out" public_interface="in" units="dimensionless"/>
        <variable name="BK_C2_init" private_interface="out" public_interface="in" units="dimensionless"/>
        <variable name="BK_C3_init" private_interface="out" public_interface="in" units="dimensionless"/>
        <variable name="BK_C4_init" private_interface="out" public_interface="in" units="dimensionless"/>
        <variable name="O0_init" private_interface="out" public_interface="in" units="dimensionless"/>
        <variable name="O1_init" private_interface="out" public_interface="in" units="dimensionless"/>
        <variable name="O2_init" private_interface="out" public_interface="in" units="dimensionless"/>
        <variable name="O3_init" private_interface="out" public_interface="in" units="dimensionless"/>
        <variable name="O4_init" private_interface="out" public_interface="in" units="dimensionless"/>
        <variable name="k_on" private_interface="out" public_interface="in" units="per_ms"/>
        <variable name="k_off_C" private_interface="out" public_interface="in" units="per_ms"/>
        <variable name="k_off_O" private_interface="out" public_interface="in" units="per_ms"/>
        <variable name="g_Na" private_interface="out" public_interface="in" units="nS"/>
        <variable name="T0Na" private_interface="out" public_interface="in" units="kelvin"/>
        <variable name="Q10Na" private_interface="out" public_interface="in" units="dimensionless"/>
        <variable name="Nao" private_interface="out" public_interface="in" units="mM"/>
        <variable name="Na_C1_init" private_interface="out" public_interface="in" units="dimensionless"/>
        <variable name="Na_C2_init" private_interface="out" public_interface="in" units="dimensionless"/>
        <variable name="Na_C3_init" private_interface="out" public_interface="in" units="dimensionless"/>
        <variable name="I1_init" private_interface="out" public_interface="in" units="dimensionless"/>
        <variable name="I2_init" private_interface="out" public_interface="in" units="dimensionless"/>
        <variable name="O_Na_init" private_interface="out" public_interface="in" units="dimensionless"/>
        <variable name="K_mCa" private_interface="out" public_interface="in" units="mM"/>
        <variable name="K_mNai" private_interface="out" public_interface="in" units="mM"/>
        <variable name="k_sat" private_interface="out" public_interface="in" units="dimensionless"/>
        <variable name="gamma" private_interface="out" public_interface="in" units="dimensionless"/>
        <variable name="P_NCX" private_interface="out" public_interface="in" units="pA"/>
        <variable name="K_mK" private_interface="out" public_interface="in" units="mM"/>
        <variable name="K_mNa" private_interface="out" public_interface="in" units="mM"/>
        <variable name="P_NaK" private_interface="out" public_interface="in" units="pA"/>
        <variable name="g_NsNa" private_interface="out" public_interface="in" units="nS"/>
        <variable name="g_NsK" private_interface="out" public_interface="in" units="nS"/>
        <variable name="Cai" private_interface="out" public_interface="in" units="mM"/>
        <variable name="Nai" private_interface="out" public_interface="in" units="mM"/>
        <variable name="Ki" private_interface="out" public_interface="in" units="mM"/>
        <math xmlns="http://www.w3.org/1998/Math/MathML">
            <apply>
                <eq/>
                <ci>I_ion</ci>
                <apply>
                    <plus/>
                    <ci>I_CaL</ci>
                    <ci>I_CaT</ci>
                    <ci>I_Kv</ci>
                    <ci>I_BK</ci>
                    <ci>I_Na</ci>
                    <ci>I_NCX</ci>
                    <ci>I_NaK</ci>
                    <ci>I_NsNa</ci>
                    <ci>I_NsK</ci>
                </apply>
            </apply>
        </math>
    </component>
    <group>
        <relationship_ref relationship="encapsulation"/>
        <component_ref component="Clamped_current_Xi">
            <component_ref component="ICaL"/>
            <component_ref component="ICaT"/>
            <component_ref component="IKv"/>
            <component_ref component="IBK"/>
            <component_ref component="INa"/>
            <component_ref component="INCX"/>
            <component_ref component="INaK"/>
            <component_ref component="INS_Na"/>
            <component_ref component="INS_K"/>
        </component_ref>
    </group>
    <connection>
        <map_components component_1="Clamped_current_Xi" component_2="ICaL"/>
        <map_variables variable_1="I_CaL" variable_2="I_CaL"/>
        <map_variables variable_1="P_CaL" variable_2="P_CaL"/>
        <map_variables variable_1="time" variable_2="time"/>
        <map_variables variable_1="V" variable_2="V"/>
        <map_variables variable_1="g_CaL" variable_2="g_CaL"/>
        <map_variables variable_1="T" variable_2="T"/>
        <map_variables variable_1="T0CaL" variable_2="T0CaL"/>
        <map_variables variable_1="Q10Ca" variable_2="Q10Ca"/>
        <map_variables variable_1="Cao" variable_2="Cao"/>
        <map_variables variable_1="C0_init" variable_2="C0_init"/>
        <map_variables variable_1="C1_init" variable_2="C1_init"/>
        <map_variables variable_1="C2_init" variable_2="C2_init"/>
        <map_variables variable_1="C3_init" variable_2="C3_init"/>
        <map_variables variable_1="C0Ca_init" variable_2="C0Ca_init"/>
        <map_variables variable_1="C1Ca_init" variable_2="C1Ca_init"/>
        <map_variables variable_1="C2Ca_init" variable_2="C2Ca_init"/>
        <map_variables variable_1="C3Ca_init" variable_2="C3Ca_init"/>
        <map_variables variable_1="ICa_init" variable_2="ICa_init"/>
        <map_variables variable_1="IVs_init" variable_2="IVs_init"/>
        <map_variables variable_1="IVf_init" variable_2="IVf_init"/>
        <map_variables variable_1="IVfCa_init" variable_2="IVfCa_init"/>
        <map_variables variable_1="IVsCa_init" variable_2="IVsCa_init"/>
        <map_variables variable_1="O_CaL_init" variable_2="O_CaL_init"/>
        <map_variables variable_1="Cai" variable_2="Cai"/>
    </connection>
    <connection>
        <map_components component_1="Clamped_current_Xi" component_2="ICaT"/>
        <map_variables variable_1="I_CaT" variable_2="I_CaT"/>
        <map_variables variable_1="P_CaT" variable_2="P_CaT"/>
        <map_variables variable_1="time" variable_2="time"/>
        <map_variables variable_1="V" variable_2="V"/>
        <map_variables variable_1="g_CaT" variable_2="g_CaT"/>
        <map_variables variable_1="T" variable_2="T"/>
        <map_variables variable_1="T0CaT" variable_2="T0CaT"/>
        <map_variables variable_1="Q10Ca" variable_2="Q10Ca"/>
        <map_variables variable_1="Cao" variable_2="Cao"/>
        <map_variables variable_1="d_CaT_init" variable_2="d_CaT_init"/>
        <map_variables variable_1="d_CaT" variable_2="d_CaT"/>
        <map_variables variable_1="f_CaT_init" variable_2="f_CaT_init"/>
        <map_variables variable_1="f_CaT" variable_2="f_CaT"/>
        <map_variables variable_1="tau_dCaT" variable_2="tau_dCaT"/>
        <map_variables variable_1="Cai" variable_2="Cai"/>
    </connection>
    <connection>
        <map_components component_1="Clamped_current_Xi" component_2="IKv"/>
        <map_variables variable_1="I_Kv" variable_2="I_Kv"/>
        <map_variables variable_1="P_Kv" variable_2="P_Kv"/>
        <map_variables variable_1="time" variable_2="time"/>
        <map_variables variable_1="V" variable_2="V"/>
        <map_variables variable_1="g_Kv" variable_2="g_Kv"/>
        <map_variables variable_1="T" variable_2="T"/>
        <map_variables variable_1="T0K" variable_2="T0K"/>
        <map_variables variable_1="Q10K" variable_2="Q10K"/>
        <map_variables variable_1="Ko" variable_2="Ko"/>
        <map_variables variable_1="x_Kv_init" variable_2="x_Kv_init"/>
        <map_variables variable_1="x_Kv" variable_2="x_Kv"/>
        <map_variables variable_1="y_Kv_init" variable_2="y_Kv_init"/>
        <map_variables variable_1="y_Kv" variable_2="y_Kv"/>
        <map_variables variable_1="tau_xKv" variable_2="tau_xKv"/>
        <map_variables variable_1="tau_yKv" variable_2="tau_yKv"/>
        <map_variables variable_1="Ki" variable_2="Ki"/>
    </connection>
    <connection>
        <map_components component_1="Clamped_current_Xi" component_2="IBK"/>
        <map_variables variable_1="I_BK" variable_2="I_BK"/>
        <map_variables variable_1="P_BK" variable_2="P_BK"/>
        <map_variables variable_1="time" variable_2="time"/>
        <map_variables variable_1="V" variable_2="V"/>
        <map_variables variable_1="g_BK" variable_2="g_BK"/>
        <map_variables variable_1="T" variable_2="T"/>
        <map_variables variable_1="Ko" variable_2="Ko"/>
        <map_variables variable_1="BK_C0_init" variable_2="BK_C0_init"/>
        <map_variables variable_1="BK_C1_init" variable_2="BK_C1_init"/>
        <map_variables variable_1="BK_C2_init" variable_2="BK_C2_init"/>
        <map_variables variable_1="BK_C3_init" variable_2="BK_C3_init"/>
        <map_variables variable_1="BK_C4_init" variable_2="BK_C4_init"/>
        <map_variables variable_1="O0_init" variable_2="O0_init"/>
        <map_variables variable_1="O1_init" variable_2="O1_init"/>
        <map_variables variable_1="O2_init" variable_2="O2_init"/>
        <map_variables variable_1="O3_init" variable_2="O3_init"/>
        <map_variables variable_1="O4_init" variable_2="O4_init"/>
        <map_variables variable_1="k_on" variable_2="k_on"/>
        <map_variables variable_1="k_off_C" variable_2="k_off_C"/>
        <map_variables variable_1="k_off_O" variable_2="k_off_O"/>
        <map_variables variable_1="Cai" variable_2="Cai"/>
        <map_variables variable_1="Ki" variable_2="Ki"/>
    </connection>
    <connection>
        <map_components component_1="Clamped_current_Xi" component_2="INa"/>
        <map_variables variable_1="I_Na" variable_2="I_Na"/>
        <map_variables variable_1="P_Na" variable_2="P_Na"/>
        <map_variables variable_1="time" variable_2="time"/>
        <map_variables variable_1="V" variable_2="V"/>
        <map_variables variable_1="g_Na" variable_2="g_Na"/>
        <map_variables variable_1="T" variable_2="T"/>
        <map_variables variable_1="T0Na" variable_2="T0Na"/>
        <map_variables variable_1="Q10Na" variable_2="Q10Na"/>
        <map_variables variable_1="Nao" variable_2="Nao"/>
        <map_variables variable_1="Na_C1_init" variable_2="Na_C1_init"/>
        <map_variables variable_1="Na_C2_init" variable_2="Na_C2_init"/>
        <map_variables variable_1="Na_C3_init" variable_2="Na_C3_init"/>
        <map_variables variable_1="I1_init" variable_2="I1_init"/>
        <map_variables variable_1="I2_init" variable_2="I2_init"/>
        <map_variables variable_1="O_Na_init" variable_2="O_Na_init"/>
        <map_variables variable_1="Nai" variable_2="Nai"/>
    </connection>
    <connection>
        <map_components component_1="Clamped_current_Xi" component_2="INCX"/>
        <map_variables variable_1="I_NCX" variable_2="I_NCX"/>
        <map_variables variable_1="V" variable_2="V"/>
        <map_variables variable_1="R" variable_2="R"/>
        <map_variables variable_1="T" variable_2="T"/>
        <map_variables variable_1="F" variable_2="F"/>
        <map_variables variable_1="Nao" variable_2="Nao"/>
        <map_variables variable_1="Cao" variable_2="Cao"/>
        <map_variables variable_1="K_mCa" variable_2="K_mCa"/>
        <map_variables variable_1="K_mNai" variable_2="K_mNai"/>
        <map_variables variable_1="k_sat" variable_2="k_sat"/>
        <map_variables variable_1="gamma" variable_2="gamma"/>
        <map_variables variable_1="P_NCX" variable_2="P_NCX"/>
        <map_variables variable_1="Nai" variable_2="Nai"/>
        <map_variables variable_1="Cai" variable_2="Cai"/>
    </connection>
    <connection>
        <map_components component_1="Clamped_current_Xi" component_2="INaK"/>
        <map_variables variable_1="I_NaK" variable_2="I_NaK"/>
        <map_variables variable_1="V" variable_2="V"/>
        <map_variables variable_1="R" variable_2="R"/>
        <map_variables variable_1="T" variable_2="T"/>
        <map_variables variable_1="F" variable_2="F"/>
        <map_variables variable_1="Nao" variable_2="Nao"/>
        <map_variables variable_1="Ko" variable_2="Ko"/>
        <map_variables variable_1="K_mK" variable_2="K_mK"/>
        <map_variables variable_1="K_mNa" variable_2="K_mNa"/>
        <map_variables variable_1="P_NaK" variable_2="P_NaK"/>
        <map_variables variable_1="Nai" variable_2="Nai"/>
        <map_variables variable_1="Ki" variable_2="Ki"/>
    </connection>
    <connection>
        <map_components component_1="Clamped_current_Xi" component_2="INS_Na"/>
        <map_variables variable_1="I_NsNa" variable_2="I_NsNa"/>
        <map_variables variable_1="V" variable_2="V"/>
        <map_variables variable_1="g_NsNa" variable_2="g_NsNa"/>
        <map_variables variable_1="T" variable_2="T"/>
        <map_variables variable_1="Nao" variable_2="Nao"/>
        <map_variables variable_1="Nai" variable_2="Nai"/>
    </connection>
    <connection>
        <map_components component_1="Clamped_current_Xi" component_2="INS_K"/>
        <map_variables variable_1="I_NsK" variable_2="I_NsK"/>
        <map_variables variable_1="V" variable_2="V"/>
        <map_variables variable_1="g_NsK" variable_2="g_NsK"/>
        <map_variables variable_1="T" variable_2="T"/>
        <map_variables variable_1="Ko" variable_2="Ko"/>
        <map_variables variable_1="Ki" variable_2="Ki"/>
    </connection>
</model>