Adding a BAPTA buffer...
Posted: Sat Jul 01, 2006 3:37 am
hi
i realize this may be a simple question but i have been really banging my head over it. i am using a single compartment, five-channel model with ca diffusion and pump dynamics (capump.mod) that i found on ModelDB. i would like to be able to add a specific buffer to the model and keep track of the ammount of bound buffer and a new cai value. the kinetic eqn is this:
cai + free <--> bound (k1, k2)
i have included my best attempt at a MOD file below. should this work conceptually. i thought the easiest way to do this would be with a KINETICS block but i couldn't figrue out how to do this either. this code doesn't work. does anybody know why? thanks for the help!
-Andrew
i realize this may be a simple question but i have been really banging my head over it. i am using a single compartment, five-channel model with ca diffusion and pump dynamics (capump.mod) that i found on ModelDB. i would like to be able to add a specific buffer to the model and keep track of the ammount of bound buffer and a new cai value. the kinetic eqn is this:
cai + free <--> bound (k1, k2)
i have included my best attempt at a MOD file below. should this work conceptually. i thought the easiest way to do this would be with a KINETICS block but i couldn't figrue out how to do this either. this code doesn't work. does anybody know why? thanks for the help!
-Andrew
Code: Select all
TITLE model of fluorescence changes for oregon green BAPTA-1
UNITS {
(mv) = (millivolt)
(mA) = (milliamp)
(molar) = (1/liter)
(mM) = (millimolar)
(nM) = (nanomolar)
(um) = (micron)
}
NEURON {
SUFFIX dye
USEION ca READ cai WRITE cai
RANGE conc, kd, tau, bound
}
PARAMETER {
conc = 0.0001 (mM)
kd = 170 (nM)
tau = 1 (ms)
}
ASSIGNED {
:kd = k2/k1
k2 (/ms)
k1 (/nM /ms)
ref
}
INITIAL {
bound = kd
free = conc-bound
}
STATE {
cai (mM)
free (mM)
bound (mM)
}
BREAKPOINT {
SOLVE rxn METHOD euler
}
DERIVATIVE rxn {
k1 = 1/(kd*tau)
k2 = kd*k1
cai'=-k1*cai*free + k2*bound
free'=-k1*cai*free + k2*bound
bound'=k1*cai*free - k2*bound
}