Model Mathematics

Component: environment

Component: membrane

i_Stim=stim_amplitudeiftime≥0.05∧time≦0.05+stim_duration0otherwise ddtimeV=-1Cm⁢i_Stim+i_K1+i_to+i_Kr+i_Ks+i_NaK+i_Na+i_b_Na+i_p_Na+i_Ca_L_Na_cyt+i_Ca_L_Na_ds+i_NaCa_cyt+i_NaCa_ds+i_Ca_L_Ca_cyt+i_Ca_L_Ca_ds+i_Ca_L_K_cyt+i_Ca_L_K_ds+i_b_Ca

Component: reversal_potentials

E_Na=R⁢TF⁢ln⁡Na_oNa_i E_K=R⁢TF⁢ln⁡K_oK_i E_Ks=R⁢TF⁢ln⁡K_o+P_kna⁢Na_oK_i+P_kna⁢Na_i E_Ca=0.5⁢R⁢TF⁢ln⁡Ca_oCa_i E_mh=R⁢TF⁢ln⁡Na_o+0.12⁢K_oNa_i+0.12⁢K_i

Component: time_independent_potassium_current

i_K1=g_K1⁢K_oK_o+K_mk1⁢V-E_K1+ⅇV-E_K-10⁢F⁢1.25R⁢T

Component: rapid_delayed_rectifier_potassium_current

i_Kr=g_Kr1⁢xr1+g_Kr2⁢xr2⁢11+ⅇV+922.4⁢V-E_K

Component: rapid_delayed_rectifier_potassium_current_xr1_gate

alpha_xr1=501+ⅇ-V-59 beta_xr1=0.05⁢ⅇ-V-2015 ddtimexr1=alpha_xr1⁢1-xr1-beta_xr1⁢xr1

Component: rapid_delayed_rectifier_potassium_current_xr2_gate

alpha_xr2=501+ⅇ-V-59 beta_xr2=0.4⁢ⅇ-V+30303 ddtimexr2=alpha_xr2⁢1-xr2-beta_xr2⁢xr2

Component: slow_delayed_rectifier_potassium_current

i_Ks=g_Ks⁢xs2⁢V-E_Ks

Component: slow_delayed_rectifier_potassium_current_xs_gate

alpha_xs=141+ⅇ-V-409 beta_xs=1⁢ⅇ-V45 ddtimexs=alpha_xs⁢1-xs-beta_xs⁢xs

Component: fast_sodium_current

i_Na=g_Na⁢m3⁢h⁢V-E_mh

Component: fast_sodium_current_m_gate

E0_m=V+41 alpha_m=2000if|E0_m|<delta_m200⁢E0_m1-ⅇ-0.1⁢E0_motherwise beta_m=8000⁢ⅇ-0.056⁢V+66 ddtimem=alpha_m⁢1-m-beta_m⁢m

Component: fast_sodium_current_h_gate

alpha_h=20⁢ⅇ-0.125⁢V+75-shift_h beta_h=20001+320⁢ⅇ-0.1⁢V+75-shift_h ddtimeh=alpha_h⁢1-h-beta_h⁢h

Component: persistent_sodium_current

i_p_Na=g_pna⁢11+ⅇ-V+528⁢V-E_Na

Component: sodium_background_current

i_b_Na=g_bna⁢V-E_Na

Component: L_type_Ca_channel

i_Ca_L_Ca_cyt=1-FrICa⁢4⁢P_Ca_L⁢d⁢CaChoncyt⁢V-50⁢FR⁢T1-ⅇ-V-50⁢F⁢2R⁢T⁢Ca_i⁢ⅇ100⁢FR⁢T-Ca_o⁢ⅇ-V-50⁢F⁢2R⁢T i_Ca_L_K_cyt=1-FrICa⁢P_CaK⁢P_Ca_L⁢d⁢CaChoncyt⁢V-50⁢FR⁢T1-ⅇ-V-50⁢FR⁢T⁢K_i⁢ⅇ50⁢FR⁢T-K_o⁢ⅇ-V-50⁢FR⁢T i_Ca_L_Na_cyt=1-FrICa⁢P_CaNa⁢P_Ca_L⁢d⁢CaChoncyt⁢V-50⁢FR⁢T1-ⅇ-V-50⁢FR⁢T⁢Na_i⁢ⅇ50⁢FR⁢T-Na_o⁢ⅇ-V-50⁢FR⁢T i_Ca_L_Ca_ds=FrICa⁢4⁢P_Ca_L⁢d⁢CaChonds⁢V-50⁢FR⁢T1-ⅇ-V-50⁢F⁢2R⁢T⁢Ca_i⁢ⅇ100⁢FR⁢T-Ca_o⁢ⅇ-V-50⁢F⁢2R⁢T i_Ca_L_K_ds=FrICa⁢P_CaK⁢P_Ca_L⁢d⁢CaChonds⁢V-50⁢FR⁢T1-ⅇ-V-50⁢FR⁢T⁢K_i⁢ⅇ50⁢FR⁢T-K_o⁢ⅇ-V-50⁢FR⁢T i_Ca_L_Na_ds=FrICa⁢P_CaNa⁢P_Ca_L⁢d⁢CaChonds⁢V-50⁢FR⁢T1-ⅇ-V-50⁢FR⁢T⁢Na_i⁢ⅇ50⁢FR⁢T-Na_o⁢ⅇ-V-50⁢FR⁢T i_Ca_L=i_Ca_L_Ca_cyt+i_Ca_L_K_cyt+i_Ca_L_Na_cyt+i_Ca_L_Ca_ds+i_Ca_L_K_ds+i_Ca_L_Na_ds

Component: L_type_Ca_channel_d_gate

E0_d=V+24-5 alpha_d=120if|E0_d|<0.000130⁢E0_d1-ⅇ-E0_d4otherwise beta_d=120if|E0_d|<0.000112⁢E0_dⅇE0_d10-1otherwise ddtimed=speed_d⁢alpha_d⁢1-d-beta_d⁢d

Component: L_type_Ca_channel_f_gate

E0_f=V+34 alpha_f=25if|E0_f|<delta_f6.25⁢E0_fⅇE0_f4-1otherwise beta_f=121+ⅇ-1⁢V+344 CaChoffcyt=Ca_iKCaChoff+Ca_i ddtimef=120⁢1-f⁢CaChoffcyt+1-f⁢1-CaChoffcyt⁢speed_f⁢beta_f-alpha_f⁢f CaChoncyt=1-f⁢1-CaChoffcyt CaChoffds=Ca_dsKmdsinact+Ca_ds CaChonds=1-f⁢1-CaChoffds

Component: calcium_background_current

i_b_Ca=g_bca⁢V-E_Ca

Component: transient_outward_current

i_to=g_to⁢g_tos+s⁢1-g_tos⁢r⁢V-E_K

Component: transient_outward_current_s_gate

alpha_s=0.033⁢ⅇ-V17 beta_s=331+ⅇ-0.125⁢V+10 ddtimes=alpha_s⁢1-s-beta_s⁢s

Component: transient_outward_current_r_gate

ddtimer=333⁢11+ⅇ-V+45-r

Component: sodium_potassium_pump

i_NaK=i_NaK_max⁢K_oK_mK+K_o⁢Na_iK_mNa+Na_i

Component: sodium_calcium_exchanger

i_NaCa_cyt=1-FRiNaCa⁢k_NaCa⁢ⅇgamma⁢n_NaCa-2⁢V⁢FR⁢T⁢Na_in_NaCa⁢Ca_o-ⅇgamma-1⁢n_NaCa-2⁢V⁢FR⁢T⁢Na_on_NaCa⁢Ca_i1+d_NaCa⁢Ca_i⁢Na_on_NaCa+Ca_o⁢Na_in_NaCa⁢1+Ca_i0.0069 i_NaCa_ds=FRiNaCa⁢k_NaCa⁢ⅇgamma⁢n_NaCa-2⁢V⁢FR⁢T⁢Na_in_NaCa⁢Ca_o-ⅇgamma-1⁢n_NaCa-2⁢V⁢FR⁢T⁢Na_on_NaCa⁢Ca_ds1+d_NaCa⁢Ca_ds⁢Na_on_NaCa+Ca_o⁢Na_in_NaCa⁢1+Ca_ds0.0069 i_NaCa=i_NaCa_cyt+i_NaCa_ds

Component: sarcoplasmic_reticulum_calcium_pump

K_1=K_cyca⁢K_xcsK_srca K_2=Ca_i+Ca_up⁢K_1+K_cyca⁢K_xcs+K_cyca i_up=Ca_iK_2⁢alpha_up-Ca_up⁢K_1K_2⁢beta_up

Component: calcium_translocation

i_trans=50⁢Ca_up-Ca_rel

Component: calcium_release

VoltDep=ⅇ0.08⁢V-40 CaiReg=Ca_iCa_i+K_m_Ca_cyt CadsReg=Ca_dsCa_ds+K_m_Ca_ds RegBindSite=CaiReg+1-CaiReg⁢CadsReg ActRate=0⁢VoltDep+90⁢RegBindSite2 InactRate=60+500⁢RegBindSite2 SpeedRel=5ifV<-501otherwise PrecFrac=1-ActFrac-ProdFrac ddtimeActFrac=PrecFrac⁢SpeedRel⁢ActRate-ActFrac⁢SpeedRel⁢InactRate ddtimeProdFrac=ActFrac⁢SpeedRel⁢InactRate-SpeedRel⁢1⁢ProdFrac i_rel=ActFracActFrac+0.252⁢K_m_rel+K_leak_rate⁢Ca_rel

Component: extracellular_sodium_concentration

Component: intracellular_sodium_concentration

ddtimeNa_i=-11⁢V_i⁢F⁢i_Na+i_p_Na+i_b_Na+3⁢i_NaK+3⁢i_NaCa_cyt+i_Ca_L_Na_cyt+i_Ca_L_Na_ds

Component: extracellular_calcium_concentration

Component: extracellular_potassium_concentration

Component: intracellular_potassium_concentration

ddtimeK_i=-11⁢V_i⁢F⁢i_K1+i_Kr+i_Ks+i_Ca_L_K_cyt+i_Ca_L_K_ds+i_to-2⁢i_NaK

Component: intracellular_calcium_concentration

V_Cell=3.141592654⁢radius10002⁢length1000 V_i_ratio=1-V_e_ratio-V_up_ratio-V_rel_ratio V_i=V_Cell⁢V_i_ratio ddtimeCa_i=-12⁢1⁢V_i⁢F⁢i_Ca_L_Ca_cyt+i_b_Ca-2⁢i_NaCa_cyt-2⁢i_NaCa_ds+Ca_ds⁢V_ds_ratio⁢Kdecay+i_rel⁢V_rel_ratioV_i_ratio-ddtimeCa_Calmod-ddtimeCa_Trop-i_up ddtimeCa_ds=-1⁢i_Ca_L_Ca_ds2⁢1⁢V_ds_ratio⁢V_i⁢F-Ca_ds⁢Kdecay ddtimeCa_up=V_i_ratioV_up_ratio⁢i_up-i_trans ddtimeCa_rel=V_up_ratioV_rel_ratio⁢i_trans-i_rel ddtimeCa_Calmod=alpha_Calmod⁢Ca_i⁢Calmod-Ca_Calmod-beta_Calmod⁢Ca_Calmod ddtimeCa_Trop=alpha_Trop⁢Ca_i⁢Trop-Ca_Trop-beta_Trop⁢Ca_Trop