# Model Mathematics

### Component: membrane

$i_Stim=-stim_amplitudeiftime-⌊timestim_period⌋⁢stim_period≥stim_start∧time-⌊timestim_period⌋⁢stim_period≦stim_start+stim_duration0otherwiseddtimeV=-i_K1+i_to+i_Kr+i_Ks+i_CaL+i_NaK+i_Na+i_b_Na+i_NaCa+i_b_Ca+i_p_K+i_p_Ca+i_Stim$

### Component: reversal_potentials

$E_Na=R⁢TF⁢ln⁡Na_oNa_iE_K=R⁢TF⁢ln⁡K_oK_iE_Ks=R⁢TF⁢ln⁡K_o+P_kna⁢Na_oK_i+P_kna⁢Na_iE_Ca=0.5⁢R⁢TF⁢ln⁡Ca_oCa_i$

### Component: inward_rectifier_potassium_current

$alpha_K1=0.11+ⅇ0.06⁢V-E_K-200beta_K1=3⁢ⅇ0.0002⁢V-E_K+100+ⅇ0.1⁢V-E_K-101+ⅇ-0.5⁢V-E_KxK1_inf=alpha_K1alpha_K1+beta_K1i_K1=g_K1⁢xK1_inf⁢K_o5.4⁢V-E_K$

### Component: rapid_time_dependent_potassium_current

$i_Kr=g_Kr⁢K_o5.4⁢Xr1⁢Xr2⁢V-E_K$

### Component: rapid_time_dependent_potassium_current_Xr1_gate

$xr1_inf=11+ⅇ-26-V7alpha_xr1=4501+ⅇ-45-V10beta_xr1=61+ⅇV+3011.5tau_xr1=1⁢alpha_xr1⁢beta_xr1ddtimeXr1=xr1_inf-Xr1tau_xr1$

### Component: rapid_time_dependent_potassium_current_Xr2_gate

$xr2_inf=11+ⅇV+8824alpha_xr2=31+ⅇ-60-V20beta_xr2=1.121+ⅇV-6020tau_xr2=1⁢alpha_xr2⁢beta_xr2ddtimeXr2=xr2_inf-Xr2tau_xr2$

### Component: slow_time_dependent_potassium_current

$i_Ks=g_Ks⁢Xs2⁢V-E_Ks$

### Component: slow_time_dependent_potassium_current_Xs_gate

$xs_inf=11+ⅇ-5-V14alpha_xs=14001+ⅇ5-V6beta_xs=11+ⅇV-3515tau_xs=1⁢alpha_xs⁢beta_xs+80ddtimeXs=xs_inf-Xstau_xs$

### Component: fast_sodium_current

$i_Na=g_Na⁢m3⁢h⁢j⁢V-E_Na$

### Component: fast_sodium_current_m_gate

$m_inf=11+ⅇ-56.86-V9.032alpha_m=11+ⅇ-60-V5beta_m=0.11+ⅇV+355+0.11+ⅇV-50200tau_m=1⁢alpha_m⁢beta_mddtimem=m_inf-mtau_m$

### Component: fast_sodium_current_h_gate

$h_inf=11+ⅇV+71.557.432alpha_h=0.057⁢ⅇ-V+806.8ifV<-400otherwisebeta_h=2.7⁢ⅇ0.079⁢V+310000⁢ⅇ0.3485⁢VifV<-400.770.13⁢1+ⅇV+10.66-11.1otherwisetau_h=1alpha_h+beta_hddtimeh=h_inf-htau_h$

### Component: fast_sodium_current_j_gate

$j_inf=11+ⅇV+71.557.432alpha_j=-25428⁢ⅇ0.2444⁢V-6.948 e -6⁢ⅇ-0.04391⁢V⁢V+37.7811+ⅇ0.311⁢V+79.23ifV<-400otherwisebeta_j=0.02424⁢ⅇ-0.01052⁢V1+ⅇ-0.1378⁢V+40.14ifV<-400.6⁢ⅇ0.057⁢V1+ⅇ-0.1⁢V+32otherwisetau_j=1alpha_j+beta_jddtimej=j_inf-jtau_j$

### Component: sodium_background_current

$i_b_Na=g_bna⁢V-E_Na$

### Component: L_type_Ca_current

$i_CaL=g_CaL⁢d⁢f⁢f2⁢fCass⁢4⁢V-15⁢F2R⁢T⁢0.25⁢Ca_ss⁢ⅇ2⁢V-15⁢FR⁢T-Ca_oⅇ2⁢V-15⁢FR⁢T-1$

### Component: L_type_Ca_current_d_gate

$d_inf=11+ⅇ-8-V7.5alpha_d=1.41+ⅇ-35-V13+0.25beta_d=1.41+ⅇV+55gamma_d=11+ⅇ50-V20tau_d=1⁢alpha_d⁢beta_d+gamma_dddtimed=d_inf-dtau_d$

### Component: L_type_Ca_current_f_gate

$f_inf=11+ⅇV+207tau_f=1102.5⁢ⅇ-V+272225+2001+ⅇ13-V10+1801+ⅇV+3010+20ddtimef=f_inf-ftau_f$

### Component: L_type_Ca_current_f2_gate

$f2_inf=0.671+ⅇV+357+0.33tau_f2=562⁢ⅇ-V+272240+311+ⅇ25-V10+801+ⅇV+3010ddtimef2=f2_inf-f2tau_f2$

### Component: L_type_Ca_current_fCass_gate

$fCass_inf=0.61+Ca_ss0.052+0.4tau_fCass=801+Ca_ss0.052+2ddtimefCass=fCass_inf-fCasstau_fCass$

### Component: calcium_background_current

$i_b_Ca=g_bca⁢V-E_Ca$

### Component: transient_outward_current

$i_to=g_to⁢r⁢s⁢V-E_K$

### Component: transient_outward_current_s_gate

$s_inf=11+ⅇV+205tau_s=85⁢ⅇ-V+452320+51+ⅇV-205+3ddtimes=s_inf-stau_s$

### Component: transient_outward_current_r_gate

$r_inf=11+ⅇ20-V6tau_r=9.5⁢ⅇ-V+4021800+0.8ddtimer=r_inf-rtau_r$

### Component: sodium_potassium_pump_current

$i_NaK=P_NaK⁢K_oK_o+K_mk⁢Na_iNa_i+K_mNa1+0.1245⁢ⅇ-0.1⁢V⁢FR⁢T+0.0353⁢ⅇ-V⁢FR⁢T$

### Component: sodium_calcium_exchanger_current

$i_NaCa=K_NaCa⁢ⅇgamma⁢V⁢FR⁢T⁢Na_i3⁢Ca_o-ⅇgamma-1⁢V⁢FR⁢T⁢Na_o3⁢Ca_i⁢alphaKm_Nai3+Na_o3⁢Km_Ca+Ca_o⁢1+K_sat⁢ⅇgamma-1⁢V⁢FR⁢T$

### Component: calcium_pump_current

$i_p_Ca=g_pCa⁢Ca_iCa_i+K_pCa$

### Component: potassium_pump_current

$i_p_K=g_pK⁢V-E_K1+ⅇ25-V5.98$

### Component: calcium_dynamics

$i_rel=V_rel⁢O⁢Ca_SR-Ca_ssi_up=Vmax_up1+K_up2Ca_i2i_leak=V_leak⁢Ca_SR-Ca_ii_xfer=V_xfer⁢Ca_ss-Ca_iO=k1⁢Ca_ss2⁢R_primek3+k1⁢Ca_ss2ddtimeR_prime=-k2⁢Ca_ss⁢R_prime+k4⁢1-R_primek1=k1_primekcasrk2=k2_prime⁢kcasrkcasr=max_sr-max_sr-min_sr1+ECCa_SR2Ca_i_bufc=11+Buf_c⁢K_buf_cCa_i+K_buf_c2Ca_sr_bufsr=11+Buf_sr⁢K_buf_srCa_SR+K_buf_sr2Ca_ss_bufss=11+Buf_ss⁢K_buf_ssCa_ss+K_buf_ss2ddtimeCa_i=Ca_i_bufc⁢i_leak-i_up⁢V_srV_c+i_xfer-1⁢i_b_Ca+i_p_Ca-2⁢i_NaCa⁢Cm2⁢1⁢V_c⁢FddtimeCa_SR=Ca_sr_bufsr⁢i_up-i_rel+i_leakddtimeCa_ss=Ca_ss_bufss⁢-1⁢i_CaL⁢Cm2⁢1⁢V_ss⁢F+i_rel⁢V_srV_ss-i_xfer⁢V_cV_ss$

### Component: sodium_dynamics

$ddtimeNa_i=-1⁢i_Na+i_b_Na+3⁢i_NaK+3⁢i_NaCa1⁢V_c⁢F⁢Cm$

### Component: potassium_dynamics

$ddtimeK_i=-1⁢i_K1+i_to+i_Kr+i_Ks+i_p_K+i_Stim-2⁢i_NaK1⁢V_c⁢F⁢Cm$
Source
Derived from workspace Tentusscher, Panfilov, 2006 at changeset 5dc42395eef6.
Collaboration
To begin collaborating on this work, please use your git client and issue this command: