Debian Codegraph @

examples/bio_nsg/bio_template/CaDynamics.mod

raw
1 : Dynamics that track inside calcium concentration
2 : modified from Destexhe et al. 1994
3
4 NEURON {
5 SUFFIX CaDynamics
6 USEION ca READ ica WRITE cai
7 RANGE decay, gamma, minCai, depth
8 }
9
10 UNITS {
11 (mV) = (millivolt)
12 (mA) = (milliamp)
13 FARADAY = (faraday) (coulombs)
14 (molar) = (1/liter)
15 (mM) = (millimolar)
16 (um) = (micron)
17 }
18
19 PARAMETER {
20 gamma = 0.05 : percent of free calcium (not buffered)
21 decay = 80 (ms) : rate of removal of calcium
22 depth = 0.1 (um) : depth of shell
23 minCai = 1e-4 (mM)
24 }
25
26 ASSIGNED {ica (mA/cm2)}
27
28 INITIAL {
29 cai = minCai
30 }
31
32 STATE {
33 cai (mM)
34 }
35
36 BREAKPOINT { SOLVE states METHOD cnexp }
37
38 DERIVATIVE states {
39 cai' = -(10000)*(ica*gamma/(2*FARADAY*depth)) - (cai - minCai)/decay
40 }