-
Notifications
You must be signed in to change notification settings - Fork 30
/
LeakConductance.mod
112 lines (77 loc) · 2.91 KB
/
LeakConductance.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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
TITLE Mod file for component: Component(id=LeakConductance type=ionChannelHH)
COMMENT
This NEURON file has been generated by org.neuroml.export (see https://github.com/NeuroML/org.neuroml.export)
org.neuroml.export v1.10.0
org.neuroml.model v1.10.0
jLEMS v0.11.0
ENDCOMMENT
NEURON {
SUFFIX LeakConductance
NONSPECIFIC_CURRENT i
RANGE e
RANGE gion
RANGE i__LeakConductance : a copy of the variable for current which makes it easier to access from outside the mod file
RANGE gmax : Will be changed when ion channel mechanism placed on cell!
RANGE conductance : parameter
RANGE g : exposure
RANGE fopen : exposure
RANGE conductanceScale : derived variable
RANGE fopen0 : derived variable
}
UNITS {
(nA) = (nanoamp)
(uA) = (microamp)
(mA) = (milliamp)
(A) = (amp)
(mV) = (millivolt)
(mS) = (millisiemens)
(uS) = (microsiemens)
(nF) = (nanofarad)
(molar) = (1/liter)
(kHz) = (kilohertz)
(mM) = (millimolar)
(um) = (micrometer)
(umol) = (micromole)
(pC) = (picocoulomb)
(S) = (siemens)
}
PARAMETER {
gmax = 0 (S/cm2) : Will be changed when ion channel mechanism placed on cell!
conductance = 1.0E-5 (uS) : was: 1.0E-11 (conductance)
}
ASSIGNED {
gion (S/cm2) : Transient conductance density of the channel? Standard Assigned variables with ionChannel
v (mV)
celsius (degC)
temperature (K)
e (mV)
i (mA/cm2)
i__LeakConductance (mA/cm2)
conductanceScale : derived variable
fopen0 : derived variable
fopen : derived variable
g (uS) : derived variable
}
STATE {
}
INITIAL {
temperature = celsius + 273.15
rates()
rates() ? To ensure correct initialisation.
}
BREAKPOINT {
rates()
? DerivedVariable is based on path: conductanceScaling[*]/factor, on: Component(id=LeakConductance type=ionChannelHH), from conductanceScaling; null
? Path not present in component, using factor: 1
conductanceScale = 1
? DerivedVariable is based on path: gates[*]/fcond, on: Component(id=LeakConductance type=ionChannelHH), from gates; null
? Path not present in component, using factor: 1
fopen0 = 1
fopen = conductanceScale * fopen0 ? evaluable
g = conductance * fopen ? evaluable
gion = gmax * fopen
i = gion * (v - e)
i__LeakConductance = -1 * i : set this variable to the current also - note -1 as channel current convention for LEMS used!
}
PROCEDURE rates() {
}