<?xml version='1.0' encoding='UTF-8'?>
<model name="SMC_KCl_noise" 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="../cellLib/Components/units.cellml">
<units name="mM" units_ref="mM"/>
<units name="mV" units_ref="mV"/>
<units name="uM" units_ref="uM"/>
<units name="uM_per_s" units_ref="uM_per_s"/>
<units name="uM_per_s_mV" units_ref="uM_per_s_mV"/>
</import>
<import xlink:href="../Components/SMC.cellml">
<component component_ref="SMC" name="SMC"/>
</import>
<import xlink:href="../Components/Para.cellml">
<component component_ref="Para" name="Para"/>
</import>
<import xlink:href="../cellLib/Protocols/X_clamp_protocol.cellml">
<component component_ref="X_clamp_protocol" name="X_clamp_protocol"/>
</import>
<import xlink:href="../cellLib/Components/time.cellml">
<component component_ref="time_s" name="time"/>
</import>
<component name="output">
<variable name="v_i" public_interface="in" units="mV"/>
<variable name="s_i" public_interface="in" units="uM"/>
<variable name="c_i" public_interface="in" units="uM"/>
<variable name="w_i" public_interface="in" units="dimensionless"/>
<variable name="I_i" public_interface="in" units="uM"/>
<variable name="t" public_interface="in" units="second"/>
</component>
<component name="clamp_para">
<variable initial_value="0" name="t_ss" public_interface="out" units="second"/>
<variable initial_value="5" name="X_Holding" public_interface="out" units="mM"/>
<variable initial_value="150" name="t_act" public_interface="out" units="second"/>
<variable initial_value="5" name="X_Test" public_interface="out" units="mM"/>
<variable name="X" public_interface="in" units="mM"/>
<variable name="KCl" public_interface="out" units="mM"/>
<variable name="Clo" public_interface="out" units="mM"/>
<math xmlns="http://www.w3.org/1998/Math/MathML">
<apply>
<eq/>
<ci>KCl</ci>
<ci>X</ci>
</apply>
<apply>
<eq/>
<ci>Clo</ci>
<apply>
<plus/>
<cn cellml:units="mM">147</cn>
<ci>KCl</ci>
</apply>
</apply>
</math>
</component>
<component name="free_para">
<variable initial_value="0" name="E" public_interface="out" units="uM_per_s"/>
<variable initial_value="0.067" name="J_PLCagonisti" public_interface="out" units="uM_per_s"/>
</component>
<component name="noise_G">
<variable initial_value="0.00129" name="G_Ca" public_interface="out" units="uM_per_s_mV"/>
<variable initial_value="0.00316" name="G_NCX" public_interface="out" units="uM_per_s_mV"/>
<variable initial_value="0.00134" name="G_Cl" public_interface="out" units="uM_per_s_mV"/>
<variable initial_value="0.00446" name="G_Ki" public_interface="out" units="uM_per_s_mV"/>
</component>
<connection>
<map_components component_1="SMC" component_2="output"/>
<map_variables variable_1="v_i" variable_2="v_i"/>
<map_variables variable_1="s_i" variable_2="s_i"/>
<map_variables variable_1="c_i" variable_2="c_i"/>
<map_variables variable_1="w_i" variable_2="w_i"/>
<map_variables variable_1="I_i" variable_2="I_i"/>
</connection>
<connection>
<map_components component_1="SMC" component_2="clamp_para"/>
<map_variables variable_1="Ko" variable_2="KCl"/>
<map_variables variable_1="Clo" variable_2="Clo"/>
</connection>
<connection>
<map_components component_1="SMC" component_2="free_para"/>
<map_variables variable_1="E" variable_2="E"/>
<map_variables variable_1="J_PLCagonisti" variable_2="J_PLCagonisti"/>
</connection>
<connection>
<map_components component_1="SMC" component_2="noise_G"/>
<map_variables variable_1="G_Ki" variable_2="G_Ki"/>
<map_variables variable_1="G_Cl" variable_2="G_Cl"/>
<map_variables variable_1="G_NCX" variable_2="G_NCX"/>
<map_variables variable_1="G_Ca" variable_2="G_Ca"/>
</connection>
<connection>
<map_components component_1="SMC" component_2="Para"/>
<map_variables variable_1="gamma" variable_2="gamma"/>
<map_variables variable_1="vi_init" variable_2="vi_init"/>
<map_variables variable_1="ci_init" variable_2="ci_init"/>
<map_variables variable_1="si_init" variable_2="si_init"/>
<map_variables variable_1="Ii_init" variable_2="Ii_init"/>
<map_variables variable_1="F_IP3" variable_2="F_IP3"/>
<map_variables variable_1="K_r" variable_2="K_r"/>
<map_variables variable_1="k" variable_2="k"/>
<map_variables variable_1="K_Ca" variable_2="K_Ca"/>
<map_variables variable_1="wi_init" variable_2="wi_init"/>
<map_variables variable_1="lambda" variable_2="lambda"/>
<map_variables variable_1="c_w" variable_2="c_w"/>
<map_variables variable_1="v_Ca3" variable_2="v_Ca3"/>
<map_variables variable_1="R_K" variable_2="R_K"/>
<map_variables variable_1="beta" variable_2="beta"/>
<map_variables variable_1="Ki" variable_2="Ki"/>
<map_variables variable_1="R" variable_2="R"/>
<map_variables variable_1="F" variable_2="F"/>
<map_variables variable_1="T" variable_2="T"/>
<map_variables variable_1="Cli" variable_2="Cli"/>
<map_variables variable_1="F_NKA" variable_2="F_NKA"/>
<map_variables variable_1="L" variable_2="L"/>
<map_variables variable_1="D" variable_2="D"/>
<map_variables variable_1="v_d" variable_2="v_d"/>
<map_variables variable_1="R_d" variable_2="R_d"/>
<map_variables variable_1="C" variable_2="C"/>
<map_variables variable_1="s_c" variable_2="s_c"/>
<map_variables variable_1="c_c" variable_2="c_c"/>
<map_variables variable_1="B" variable_2="B"/>
<map_variables variable_1="c_b" variable_2="c_b"/>
<map_variables variable_1="v_NCX" variable_2="v_NCX"/>
<map_variables variable_1="c_NCX" variable_2="c_NCX"/>
<map_variables variable_1="v_Ca1" variable_2="v_Ca1"/>
<map_variables variable_1="v_Ca2" variable_2="v_Ca2"/>
<map_variables variable_1="R_Ca" variable_2="R_Ca"/>
</connection>
<connection>
<map_components component_1="SMC" component_2="time"/>
<map_variables variable_1="t" variable_2="time"/>
</connection>
<connection>
<map_components component_1="output" component_2="time"/>
<map_variables variable_1="t" variable_2="time"/>
</connection>
<connection>
<map_components component_1="clamp_para" component_2="X_clamp_protocol"/>
<map_variables variable_1="t_ss" variable_2="t_ss"/>
<map_variables variable_1="X_Holding" variable_2="X_Holding"/>
<map_variables variable_1="t_act" variable_2="t_act"/>
<map_variables variable_1="X_Test" variable_2="X_Test"/>
<map_variables variable_1="X" variable_2="X"/>
</connection>
<connection>
<map_components component_1="X_clamp_protocol" component_2="time"/>
<map_variables variable_1="time" variable_2="time"/>
</connection>
</model>