-
Notifications
You must be signed in to change notification settings - Fork 1
/
myexchanger.mod
54 lines (44 loc) · 1.01 KB
/
myexchanger.mod
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
TITLE sodium calcium exchange
: FORREST MD (2014) Two Compartment Model of the Cerebellar Purkinje Neuron
: taken from Courtemanche et al Am J Physiol 1998 275:H301
NEURON {
SUFFIX myexchanger
USEION ca WRITE ica
USEION na WRITE ina
RANGE ImaxNax, ica, ina , KnNacx, KcNacx, inacx
GLOBAL dummy : prevent vectorization for use with CVODE
}
UNITS {
(mA) = (milliamp)
(mV) = (millivolt)
F = (faraday) (coulombs)
R = (k-mole) (joule/degC)
}
PARAMETER {
: corrD = 4.79
ImaxNax = 0.00208768267 (mA/cm2) : 0.01 : <0,1e6>
KnNacx = 87.5 (mM) <0,1e6>
KcNacx = 1.38 (mM) <0,1e6>
}
ASSIGNED {
celsius (degC)
v (mV)
ica (mA/cm2)
ina (mA/cm2)
cao (mM)
cai (mM)
nao (mM)
nai (mM)
inacx (mA/cm2)
dummy
: ImaxNax (mA/cm2)
}
BREAKPOINT { LOCAL q10, Kqa, KB, k
k = R*(celsius + 273.14)/(F*1e-3)
q10 = 3^((celsius - 37)/10 (degC))
Kqa = exp(0.35*v/k)
KB = exp( - 0.65*v/k)
inacx = ImaxNax
ina = -3*inacx
ica = 2*inacx : 1*inacx
}