- Author:
- WeiweiAi <wai484@aucklanduni.ac.nz>
- Date:
- 2022-06-23 10:59:39+12:00
- Desc:
- Remove a typo
- Permanent Source URI:
- http://models.cellml.org/workspace/874/rawfile/e49ff561204dfdf4692d90837d271bd04fc6286d/Components/buildsrc/SMC_KCl_noise.txt
def model SMC_KCl_noise as
def import using "../cellLib/Components/units.cellml" for
unit mM using unit mM;
unit mV using unit mV;
unit uM using unit uM;
unit uM_per_s using unit uM_per_s;
unit uM_per_s_mV using unit uM_per_s_mV;
enddef;
def import using "../Components/SMC.cellml" for
comp SMC using comp SMC;
enddef;
def import using "../Components/Para.cellml" for
comp Para using comp Para;
enddef;
def import using "../cellLib/Protocols/X_clamp_protocol.cellml" for
comp X_clamp_protocol using comp X_clamp_protocol;
enddef;
def import using "../cellLib/Components/time.cellml" for
comp time using comp time_s;
enddef;
def comp output as
var v_i: mV {pub: in};
var s_i: uM {pub: in};
var c_i: uM {pub: in};
var w_i: dimensionless {pub: in};
var I_i: uM {pub: in};
var t: second {pub: in};
enddef;
def comp clamp_para as
var t_ss: second {init: 0, pub: out};
var X_Holding: mM {init: 5, pub: out};
var t_act: second {init: 150, pub: out};
var X_Test: mM {init: 5, pub: out};
var X: mM {pub: in};
var KCl: mM {pub: out};
var Clo: mM {pub: out};
KCl=X;
Clo=147{mM}+KCl;
enddef;
def comp free_para as
var E: uM_per_s {init: 0, pub: out};
var J_PLCagonisti: uM_per_s {init: 0.067, pub: out};
enddef;
def comp noise_G as
var G_Ca: uM_per_s_mV {init: 0.00129, pub: out};
var G_NCX: uM_per_s_mV {init: 0.00316, pub: out};
var G_Cl: uM_per_s_mV {init: 0.00134, pub: out};
var G_Ki: uM_per_s_mV {init: 0.00446, pub: out};
enddef;
def map between SMC and output for
vars v_i and v_i;
vars s_i and s_i;
vars c_i and c_i;
vars w_i and w_i;
vars I_i and I_i;
enddef;
def map between SMC and clamp_para for
vars Ko and KCl;
vars Clo and Clo;
enddef;
def map between SMC and free_para for
vars E and E;
vars J_PLCagonisti and J_PLCagonisti;
enddef;
def map between SMC and noise_G for
vars G_Ki and G_Ki;
vars G_Cl and G_Cl;
vars G_NCX and G_NCX;
vars G_Ca and G_Ca;
enddef;
def map between SMC and Para for
vars gamma and gamma;
vars vi_init and vi_init;
vars ci_init and ci_init;
vars si_init and si_init;
vars Ii_init and Ii_init;
vars F_IP3 and F_IP3;
vars K_r and K_r;
vars k and k;
vars K_Ca and K_Ca;
vars wi_init and wi_init;
vars lambda and lambda;
vars c_w and c_w;
vars v_Ca3 and v_Ca3;
vars R_K and R_K;
vars beta and beta;
vars Ki and Ki;
vars R and R;
vars F and F;
vars T and T;
vars Cli and Cli;
vars F_NKA and F_NKA;
vars L and L;
vars D and D;
vars v_d and v_d;
vars R_d and R_d;
vars C and C;
vars s_c and s_c;
vars c_c and c_c;
vars B and B;
vars c_b and c_b;
vars v_NCX and v_NCX;
vars c_NCX and c_NCX;
vars v_Ca1 and v_Ca1;
vars v_Ca2 and v_Ca2;
vars R_Ca and R_Ca;
enddef;
def map between SMC and time for
vars t and time;
enddef;
def map between output and time for
vars t and time;
enddef;
def map between clamp_para and X_clamp_protocol for
vars t_ss and t_ss;
vars X_Holding and X_Holding;
vars t_act and t_act;
vars X_Test and X_Test;
vars X and X;
enddef;
def map between X_clamp_protocol and time for
vars time and time;
enddef;
enddef;