Model Mathematics

Component: interface

IStimC=Istim AmC=Am Istim=IstimAmplitudeift≥IstimStart∧t≦IstimEnd∧t-IstimStart-⌊t-IstimStartIstimPeriod⌋⁢IstimPeriod≦IstimPulseDuration0otherwise

Component: membrane

ddtVm=Istim-INa+IK+IL+ITCm

Component: sodium_current

INa=gNa_max⁢m⁢m⁢m⁢h⁢Vm-ENa

Component: sodium_current_m_gate

alpha_m=alpha_m_max⁢Vm-Em1.0-ⅇEm-Vmv_alpha_m beta_m=beta_m_max⁢ⅇEm-Vmv_beta_m ddtm=alpha_m⁢1.0-m-beta_m⁢m

Component: sodium_current_h_gate

alpha_h=alpha_h_max⁢ⅇEh-Vmv_alpha_h beta_h=beta_h_max1.0+ⅇEh-Vmv_beta_h ddth=alpha_h⁢1.0-h-beta_h⁢h

Component: potassium_current

IK=gK_max⁢n⁢n⁢n⁢n⁢Vm-EK

Component: potassium_current_n_gate

alpha_n=alpha_n_max⁢Vm-En1.0-ⅇEn-Vmv_alpha_n beta_n=beta_n_max⁢ⅇEn-Vmv_beta_n ddtn=alpha_n⁢1.0-n-beta_n⁢n

Component: leak_current

IL=gL_max⁢Vm-EL

Component: Ttubular_current

IT=Vm-VtRs

Component: Ttubular_current_Vt_var

ddtVt=Vm-VtRs⁢Ct