source: project/release/3/nemo/trunk/examples/AKP06/Caint.mod @ 11848

Last change on this file since 11848 was 11848, checked in by Ivan Raikov, 13 years ago

Added AKP example.

File size: 1.6 KB
Line 
1? Creating ion concentration
2TITLE Channel Caint
3
4
5COMMENT
6 
7Internal accumulation of calcium in the Purkinje cell body near to the
8membrane.
9
10Modified from Khaliq et al., J.Neurosci. 23(2003)4899
11
12Laboratory for Neuronal Circuit Dynamics
13RIKEN Brain Science Institute, Wako City, Japan
14http://www.neurodynamics.brain.riken.jp
15
16Reference: Akemann and Knoepfel, J.Neurosci. 26 (2006) 4602
17Date of Implementation: May 2005
18Contact: akemann@brain.riken.jp
19       
20ENDCOMMENT
21
22
23UNITS {
24  (mV) = (millivolt)
25  (mA) = (milliamp)
26  (um) = (micrometer)
27  (l) = (liter)
28  (molar) = (1/liter)
29  (mM) = (millimolar)
30}
31
32
33NEURON {
34  SUFFIX Caint
35  USEION ca READ ica WRITE cai VALENCE 2
36  RANGE cai
37  RANGE rest_conc, tau, thickness
38}
39
40
41ASSIGNED {
42  ica (mA/cm2)
43  diam (um)
44  drive_channel (mM/ms)
45  celsius (degC)
46  temp_adj_ca
47}
48
49
50INITIAL {
51  LOCAL r , shell_inner_r
52  cai = rest_conc
53  r = (diam/2)
54  shell_inner_r = (diam - (2*thickness)) /2
55  volume = (r*r*r) *3.14159/6 - (shell_inner_r*shell_inner_r*shell_inner_r) *3.14159/6
56  surf_area = (r*r) *3.14159
57 temp_adj_ca = 3 ^ ((celsius - 22) / 10)
58}
59
60
61CONSTANT {
62  F = 96485.0 (coulombs)
63  R = 8.3145 (joule/kelvin)
64}
65
66
67PARAMETER {
68  rest_conc = 1e-4 (mM)
69  tau = 1 (ms)
70  thickness = 1000.0 (um)
71  volume (um3)
72  surf_area (um2)
73}
74STATE {
75  cai (mM)
76}
77BREAKPOINT {
78  SOLVE conc METHOD cnexp
79}
80
81
82DERIVATIVE conc {
83  ? Note, normally dimensions are in um, but current density is in mA/cm2, etc.
84  drive_channel = (-1 * ica * (10000.0) * (surf_area / (2 * F * volume)))
85  if (drive_channel <= 0) { drive_channel = 0 } ? cannot pump inward
86  cai' = drive_channel - ((cai - rest_conc) / tau) * temp_adj_ca
87}
Note: See TracBrowser for help on using the repository browser.