def model PASMC_test as def import using "../cellLib/Components/units.cellml" for unit mM using unit mM; unit mV using unit mV; unit uM using unit uM; enddef; def import using "../Components/PASMC.cellml" for comp PASMC using comp PASMC; 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 K_out: mM {pub: in}; var t: second {pub: in}; enddef; def comp clamp_para as var t_ss: second {init: 10, pub: out}; var X_Holding: mM {init: 5.9, pub: out}; var t_act: second {init: 70, pub: out}; var X_Test: mM {init: 81.2, pub: out}; enddef; def map between PASMC and output for vars v_i and v_i; vars s_i and s_i; vars c_i and c_i; enddef; def map between PASMC 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 R and R; vars F and F; vars T and T; vars G_Ki and G_Ki; 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 G_Cl and G_Cl; vars v_Cl and v_Cl; vars C_NKA and C_NKA; vars K_mK and K_mK; 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 G_NCX and G_NCX; vars v_NCX and v_NCX; vars c_NCX and c_NCX; vars G_Ca and G_Ca; vars v_Ca1 and v_Ca1; vars v_Ca2 and v_Ca2; vars R_Ca and R_Ca; enddef; def map between PASMC and X_clamp_protocol for vars K_out and X; enddef; def map between PASMC and time for vars t and time; enddef; def map between output and X_clamp_protocol for vars K_out and X; 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; enddef; def map between X_clamp_protocol and time for vars time and time; enddef; enddef;