-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathNoble_1962_cellml.txt
97 lines (84 loc) · 2.55 KB
/
Noble_1962_cellml.txt
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
def model Noble_1962 as
def import using "Noble62_Na_channel.cellml" for
comp Na_channel using comp sodium_channel;
enddef;
def import using "Noble62_K_channel.cellml" for
comp K_channel using comp potassium_channel;
enddef;
def import using "Noble62_L_channel.cellml" for
comp L_channel using comp leakage_channel;
enddef;
def import using "Noble62_units.cellml" for
unit mV using unit mV;
unit ms using unit ms;
unit mM using unit mM;
unit microF using unit microF;
unit microA using unit microA;
unit mS using unit mS;
enddef;
def import using "Noble62_parameters.cellml" for
comp parameters using comp parameters;
enddef;
def map between parameters and membrane for
vars Ki and Ki;
vars Ko and Ko;
vars Nai and Nai;
vars Nao and Nao;
enddef;
def comp environment as
var t: ms {init: 0, pub: out};
enddef;
def group as encapsulation for
comp membrane incl
comp Na_channel;
comp K_channel;
comp L_channel;
endcomp;
enddef;
def comp membrane as
var V: mV {init: -85, pub: out, priv: out};
var t: ms {pub: in, priv: out};
var Cm: microF {init: 12};
var Ki: mM {pub: in, priv: out};
var Ko: mM {pub: in, priv: out};
var Nai: mM {pub: in, priv: out};
var Nao: mM {pub: in, priv: out};
var i_Na: microA {pub: out, priv: in};
var i_K: microA {pub: out, priv: in};
var i_L: microA {pub: out, priv: in};
var g_Na: mS {priv: in};
var h: dimensionless {priv: in};
var m: dimensionless {priv: in};
var g_K1: mS {priv: in};
var g_K2: mS {priv: in};
var n: dimensionless {priv: in};
ode(V, t) = -(i_Na+i_K+i_L)/Cm;
enddef;
def map between membrane and environment for
vars t and t;
enddef;
def map between Na_channel and membrane for
vars V and V;
vars t and t;
vars Nai and Nai;
vars Nao and Nao;
vars i_Na and i_Na;
vars g_Na and g_Na;
vars h and h;
vars m and m;
enddef;
def map between membrane and K_channel for
vars V and V;
vars t and t;
vars Ki and Ki;
vars Ko and Ko;
vars i_K and i_K;
vars g_K1 and g_K1;
vars g_K2 and g_K2;
vars n and n;
enddef;
def map between membrane and L_channel for
vars V and V;
vars i_L and i_L;
enddef;
enddef;