Model Mathematics

Component: environment

Component: model_parameters

Vc=Smtot7850 Vmyo=Vc0.585 VSRup=Vc0.0315 VSRrel=Vc0.0035 Vd=Vc0.000075 Sms=Smtot-0.44e4Vc Smt=Smtot-Sms pt=ptcmSms Lt=Smt23.14159radiustpt Vt=3.14159radiust2Ltpt Cmt=Smt1 Cms=Sms1 Rst=RotLt23.14159radiust2pt

Component: i_circ

i_circ=1000VmtRst-VmsRst

Component: i_Stim

past=timestim_periodstim_period i_Stim=stim_amplitudeiftime-paststim_offsettime-paststim_offset+stim_duration0otherwise

Component: membrane_permeabilities

gNas=gNaSms+Smt1-fNat gNat=gNaSms+SmtfNat gKfs=gKfSms+Smt1-fKft gKft=gKfSms+SmtfKft gKsts=gKstSms+Smt1-fKstt gKstt=gKstSms+SmtfKstt gK1s=gK1Sms+Smt1-fK1t gK1t=gK1Sms+SmtfK1t gKbs=gKbSms+Smt1-fKbt gKbt=gKbSms+SmtfKbt gKtos=gKtoSms+Smt1-fKtot gKtot=gKtoSms+SmtfKtot gNabs=gNabSms+Smt1-fNabt gNabt=gNabSms+SmtfNabt gCabs=gCabSms+Smt1-fCabt gCabt=gCabSms+SmtfCabt gCas=gCaSms+Smt1-fCat gCat=gCaSms+SmtfCat i_NaCa_maxs=i_NaCa_maxSms+Smt1-fNaCat i_NaCa_maxt=i_NaCa_maxSms+SmtfNaCat i_NaK_maxs=i_NaK_maxSms+Smt1-fNaKt i_NaK_maxt=i_NaK_maxSms+SmtfNaKt i_pCa_maxs=i_pCa_maxSms+Smt1-fpCat i_pCa_maxt=i_pCa_maxSms+SmtfpCat

Component: i_Nas

E_Nas=lnNaeNaiRTF i_Nas=gNasm3hVms-lnNae+0.12KeNai+0.12KiRTF

Component: i_Nas_m_gate

alpha_m=117.26Vms+59.31--0.55Vms+59.3 beta_m=3800-0.072Vms+61 ddtimem=alpha_m1-m-beta_mm

Component: i_Nas_h_gate

alpha_h=284.41+0.0812Vms+115.9 beta_h=18.77Vms+64.41--0.22Vms+64.4 ddtimeh=alpha_h1-h-beta_hh

Component: i_Nat

E_Nat=lnNatNaiRTF i_Nat=gNatm3hVmt-lnNat+0.12KtNai+0.12KiRTF

Component: i_Nat_m_gate

alpha_m=117.26Vmt+59.31--0.55Vmt+59.3 beta_m=3800-0.072Vmt+61 ddtimem=alpha_m1-m-beta_mm

Component: i_Nat_h_gate

alpha_h=284.41+0.0812Vmt+115.9 beta_h=18.77Vmt+64.41--0.22Vmt+64.4 ddtimeh=alpha_h1-h-beta_hh

Component: i_Cas

E_Cas=lnCaeCaiRT2F Coinf=11+-Vms+15.35 tauCo=0.00025+0.00305-0.0045Vms+72+0.00105-0.002Vms-182 C1inf=11+Vms+26.75.4 tauC1=0.105-Vms+45122+0.041+-Vms+2525+0.0151+Vms+7525 C2inf=C1inf tauC2=0.041-Vms+47122+0.081+-Vms+555+0.0151+Vms+7525 Ccastinf=11+Cass0.01 ddtimeC1=C1inf-C1tauC1 ddtimeC2=C2inf-C2tauC2 ddtimeCo=Coinf-CotauCo ddtimeCcast=Ccastinf-CcasttauCcast i_Cas=gCas4VmsF2RTCass2VmsFRT-0.341Cae2VmsFRT-1Co0.9+Ccast10C1+0.1-Ccast10C2

Component: i_Cat

E_Cat=lnCatCaiRT2F Coinf=11+-Vmt+15.35 tauCo=0.00025+0.00305-0.0045Vmt+72+0.00105-0.002Vmt-182 C1inf=11+Vmt+26.75.4 tauC1=0.105-Vmt+45122+0.041+-Vmt+2525+0.0151+Vmt+7525 C2inf=C1inf tauC2=0.041-Vmt+47122+0.081+-Vmt+555+0.0151+Vmt+7525 Ccastinf=11+Cass0.01 ddtimeC1=C1inf-C1tauC1 ddtimeC2=C2inf-C2tauC2 ddtimeCo=Coinf-CotauCo ddtimeCcast=Ccastinf-CcasttauCcast i_Cat=gCat4VmtF2RTCass2VmtFRT-0.341Cat2VmtFRT-1Co0.9+Ccast10C1+0.1-Ccast10C2

Component: i_Ktos

i_Ktos=gKtosrs0.886ss+0.114sssVms-E_Ks E_Ks=lnKeKiRTF

Component: i_Ktos_rs_gate

rinfs=11+Vms+10.6-11.42 taurs=145.160.03577Vms+50+98.9-0.1Vms+38 ddtimers=rinfs-rstaurs

Component: i_Ktos_ss_gate

sinfs=11+Vms+45.36.8841 tauss=0.35-0.0666Vms+702+0.035 ddtimess=sinfs-sstauss

Component: i_Ktos_sss_gate

ssinfs=11+Vms+45.36.8841 tausss=3.7-0.0333Vms+702+0.035 ddtimesss=ssinfs-ssstausss

Component: i_Ktot

E_Kt=lnKtKiRTF i_Ktot=gKtotrt0.886st+0.114sstVmt-E_Kt

Component: i_Ktot_rt_gate

rinft=11+Vmt+10.6-11.42 taurt=145.160.03577Vmt+50+98.9-0.1Vmt+38 ddtimert=rinft-rttaurt

Component: i_Ktot_st_gate

sinft=11+Vmt+45.36.8841 taust=0.35-0.0666Vmt+702+0.035 ddtimest=sinft-sttaust

Component: i_Ktot_sst_gate

ssinft=11+Vmt+45.36.8841 tausst=3.7-0.0333Vmt+702+0.035 ddtimesst=ssinft-ssttausst

Component: i_Ksts

i_Ksts=gKstsrstssstsVms-E_Ks

Component: i_Ksts_rsts_gate

rstinfs=11+-Vms+11.511.82 taursts=1045.160.03577Vms+50+98.9-0.1Vms+38 ddtimersts=rstinfs-rststaursts

Component: i_Ksts_ssts_gate

sstinfs=11+Vms+87.510.3 ddtimessts=sstinfs-sststaussts

Component: i_Kstt

i_Kstt=gKsttrsttssttVmt-E_Kt

Component: i_Kstt_rstt_gate

rstinft=11+-Vmt+11.511.82 taurstt=1045.160.03577Vmt+50+98.9-0.1Vmt+38 ddtimerstt=rstinft-rstttaurstt

Component: i_Kstt_sstt_gate

sstinft=11+Vmt+87.510.3 ddtimesstt=sstinft-sstttausstt

Component: i_Kfs

i_Kfs=gKfsqs0.2Vms-E_Nas+0.8Vms-E_Ks

Component: i_Kfs_qs_gate

qinfs=11+Vms+138.610.48 tauqs=10.11885Vms+8028.37+0.5623-Vms+8014.19 ddtimeqs=qinfs-qstauqs

Component: i_Kft

i_Kft=gKftqt0.2Vmt-E_Nat+0.8Vmt-E_Kt

Component: i_Kft_qt_gate

qinft=11+Vmt+138.610.48 tauqt=10.11885Vmt+8028.37+0.5623-Vmt+8014.19 ddtimeqt=qinft-qttauqt

Component: i_K1s

i_K1s=gK1sVms-E_Ks-1.731+1.613FRTVms-E_Ks-1.731+Ke-0.9988-0.124

Component: i_K1t

i_K1t=gK1tVmt-E_Kt-1.731+1.613FRTVmt-E_Kt-1.731+Kt-0.9988-0.124

Component: i_Nabs

i_Nabs=gNabsVms-E_Nas

Component: i_Nabt

i_Nabt=gNabtVmt-E_Nat

Component: i_Cabs

i_Cabs=gCabsVms-E_Cas

Component: i_Cabt

i_Cabt=gCabtVmt-E_Cat

Component: i_Kbs

i_Kbs=gKbsVms-E_Ks

Component: i_Kbt

i_Kbt=gKbtVmt-E_Kt

Component: i_NaCas

i_NaCas=i_NaCa_maxs0.0187VmsNai3Cae--0.0187VmsNae3Cai1+0.0001Nae3Cai+Nai3Cae

Component: i_NaCat

i_NaCat=i_NaCa_maxt0.0187VmtNai3Cat--0.0187VmtNat3Cai1+0.0001Nat3Cai+Nai3Cat

Component: i_NaKs

i_NaKs=i_NaK_maxs1+0.1245-0.1VmsFRT+0.036517Nae67.3-1-VmsFRT11+10Nai1.5KeKe+1.5

Component: i_NaKt

i_NaKt=i_NaK_maxt1+0.1245-0.1VmtFRT+0.036517Nat67.3-1-VmtFRT11+10Nai1.5KtKt+1.5

Component: i_pCas

i_pCas=i_pCa_maxsCai0.0004+Cai

Component: i_pCat

i_pCat=i_pCa_maxtCai0.0004+Cai

Component: t_tubular_ion_fluxes

JteNa=1VttauNaNat-Nae JteCa=1VttauCaCat-Cae JteK=1VttauKKt-Ke

Component: JCaSRup

JCaSRup=1Vmyo0.0410Cai0.0001681.2-0.9CaSRup3.291+Cai0.0001681.2+CaSRup3.29

Component: Jtr

Jtr=1VSRreltautrCaSRup-CaSRrel

Component: JCaSRrel

JCaSRrel=1800VSRrelF2+F3CaSRrel-Cass kap=12.15e+12 kbp=4.05e+9 ddtimeF1=F2kam-F1kapCass4 ddtimeF2=F1kapCass4+F3kbm+F4kcm-F2kam+kbpCass3+kcp ddtimeF3=F2kbpCass3-F3kbm ddtimeF4=F2kcp-F4kcm

Component: JCad

JCad=1Cass-CaiVmyotaud

Component: CaSRup

ddtimeCaSRup=JCaSRup-Jtr1VSRup

Component: CaSRrel

ddtimeCaSRrel=11+150.80.8+CaSRrel2Jtr-JCaSRrelVSRrel

Component: ion_concentrations

dBTRH=20000Cai1-BTRH-0.07BTRH ddtimeBTRH=dBTRH dBTRL=40000Cai1-BTRL-BTRL40 ddtimeBTRL=dBTRL ddtimeCass=11+0.050.002380.00238+Cass2-i_Cas+i_Cat2FVd+1JCaSRrelVd-1JCadVd ddtimeCai=11+0.050.002380.00238+Cai2-2i_NaCas+i_NaCat+i_Cabs+i_Cabt+i_pCas+i_pCat-2FVmyo+1JCad-JCaSRupVmyo-dBTRH0.14-dBTRL0.07 ddtimeNai=-i_Nas+i_Nat+i_Nabs+i_Nabt+3i_NaCas+3i_NaCat+3i_NaKs+3i_NaKtFVmyo ddtimeKi=--i_Stim+i_Kfs+i_Kft+i_Ksts+i_Kstt+i_K1s+i_K1t+i_Kbs+i_Kbt-2i_NaKs-2i_NaKt+i_Ktos+i_KtotFVmyo ddtimeNat=i_Nat+i_Nabt+3i_NaCat+3i_NaKtF-1JteNaVt ddtimeCat=-2i_NaCat+i_Cat+i_Cabt+i_pCat2F-1JteCaVt ddtimeKt=i_Kft+i_Kstt+i_K1t+i_Kbt-2i_NaKt+i_KtotF-1JteKVt

Component: Vms

ddtimeVms=1000i_Stim+i_circ-i_Nas+i_Cas+i_Ktos+i_Ksts+i_Kfs+i_K1s+i_Nabs+i_Cabs+i_Kbs+i_NaKs+i_NaCas+i_pCasCms

Component: Vmt

ddtimeVmt=1000-i_circ+i_Nat+i_Cat+i_Ktot+i_Kstt+i_Kft+i_K1t+i_Nabt+i_Cabt+i_Kbt+i_NaKt+i_NaCat+i_pCatCmt