Model Mathematics

Component: environment

Component: stimulus_protocol

Istim=IstimAmplitudeiftimeIstimStarttimeIstimEndtime-IstimStart-time-IstimStartIstimPeriodIstimPeriodIstimPulseDuration0otherwise

Component: membrane

ddtimeu=-J_fi+J_so+J_si+J_stim Vm=V_0+uV_fi-V_0

Component: p

p=0ifu<u_c1otherwise

Component: q

q=0ifu<u_v1otherwise

Component: fast_inward_current

tau_d=Cmg_fi_max J_fi=-vp1-uu-u_ctau_d

Component: fast_inward_current_v_gate

tau_v_minus=qtau_v1_minus+1-qtau_v2_minus ddtimev=1-p1-vtau_v_minus-pvtau_v_plus

Component: slow_outward_current

J_so=u1-ptau_0+ptau_r

Component: slow_inward_current

J_si=-w1+tanhku-u_csi2tau_si

Component: slow_inward_current_w_gate

ddtimew=1-p1-wtau_w_minus-pwtau_w_plus