-
Notifications
You must be signed in to change notification settings - Fork 1
/
CALC.mod
54 lines (41 loc) · 873 Bytes
/
CALC.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
TITLE Cerebellum Golgi Cell Model
COMMENT
Calcium first order kinetics
Author: A. Fontana
Revised: 12.12.98
Adapted by: Haroon Anwar (anwar@oist.jp)
ENDCOMMENT
NEURON {
SUFFIX CALC
USEION ca READ ica, cao WRITE cai
RANGE d, beta, cai0
}
UNITS {
(mV) = (millivolt)
(mA) = (milliamp)
(um) = (micron)
(molar) = (1/liter)
(mM) = (millimolar)
F = (faraday) (coulomb)
}
PARAMETER {
ica (mA/cm2)
celsius (degC)
d = .2 (um)
cao = 2. (mM)
cai0 = 45e-6 (mM)
beta = 1.3 (/ms)
}
STATE {
cai (mM)
}
INITIAL {
cai = cai0
}
BREAKPOINT {
SOLVE conc METHOD derivimplicit
}
DERIVATIVE conc {
: total outward Ca current
cai' = -ica/(2*F*d)*(1e4) - beta*(cai-cai0)
}