Model Mathematics

Component: environment

Component: parameters

Component: membrane

ddtimeV_m=I_stim-I_Na+I_Ca+I_K+I_L+I_T+I_KCaC_m

Component: I_stim

H_0=0iftime<t_01otherwise H_1=0iftime<t_11otherwise I_stim=I_mag⁢H_0-H_1

Component: I_Na

I_Na=g_Na⁢m3⁢h⁢V_m-E_Na

Component: m

alpha_m=alpha_m_max⁢V_m-E_m1-ⅇE_m-V_mV_alpha_m beta_m=beta_m_max⁢ⅇE_m-V_mV_beta_m ddtimem=alpha_m⁢1-m-beta_m⁢m

Component: h

alpha_h=alpha_h_max⁢ⅇV_m-E_hV_alpha_h beta_h=beta_h_max1+ⅇE_h-V_mV_beta_h ddtimeh=alpha_h⁢1-h-beta_h⁢h

Component: I_T

I_T=V_m-V_TR_s

Component: V_T

ddtimeV_T=V_m-V_TR_s⁢C_t

Component: I_KCa

I_KCa=g_KCa⁢o⁢w⁢V_m-E_K

Component: o

alpha_Vm=a_bar1+k_1⁢ⅇ-2⁢d_1⁢96.485⁢V_mRT⁢c beta_Vm=b_bar1+ck_2⁢ⅇ-2⁢d_2⁢96.485⁢V_mRT tau_Vm=1alpha_Vm+beta_Vm o_oinf=alpha_Vm⁢tau_Vm ddtimeo=o_oinf-otau_Vm

Component: w

w=c5c5+kd5

Component: calcium_handling

j_mem=-alpha⁢I_Ca⁢k_pmca⁢c j_leak=p_leak⁢cer-c j_serca=k_serca⁢c j_er=j_leak-j_serca ddtimec=f_cyt⁢j_mem+j_er ddtimecer=-f_er⁢v_cytver⁢j_er

Component: I_Ca

g_Ca=-g_Ca0⁢V_mⅇ0.117⁢V_m-1 I_Ca=g_Ca⁢d2⁢V_m-E_Ca

Component: d

d_infinity=11+ⅇ-24.6-V_m11.3 tau_d=80⁢1cosh⁡-0.031⁢V_m+37.1 alpha_d=d_infinitytau_d beta_d=1-d_infinitytau_d ddtimed=alpha_d⁢1-d-beta_d⁢d

Component: I_L

I_L=g_Lmax⁢V_m-E_L

Component: I_K

I_K=g_K⁢n4⁢V_m-E_K

Component: n

alpha_n=alpha_n_max⁢V_m-E_n1-ⅇE_n-V_mV_alpha_n beta_n=beta_n_max⁢ⅇE_n-V_mV_beta_n ddtimen=alpha_n⁢1-n-beta_n⁢n