Page 1 of 1

### main differential equation for voltage

Posted: Tue Oct 13, 2009 5:25 am
hello!

i have been working with neuron for some time but i can´t find the main differential equation for the ion channel dynamics (eg. for the hodgkin-huxley model)
the hh model consists of 4 differential equations:

m'=(minf-m)/mtau
h'=(hinf-h)/htau
n'=(ninf-n)/ntau
v'=(-ina-ik-il+istim)*1/c

in the hh.mod-file (nrn70\src\nrnoc\hh.mod) there are only the first three differential equations.
can you tell me where the last one is?

best regards,
reimar

ps: the equation for v' doesn´t have to to anything with the statement "SOLVE states METHOD cnexp", does it?

### Re: main differential equation for voltage

Posted: Tue Oct 13, 2009 3:58 pm
in the hh.mod-file (nrn70\src\nrnoc\hh.mod) there are only the first three differential equations.
can you tell me where the last one is?
Good question. You get the fourth one for free, just by saying
create soma
or whatever the name of the section is, into which you insert the hh mechanism. Actually, you're getting the spatially discretized cable equation, which gives you one membrane potential ODE for every compartment (segment) in your model. And you're getting as many ODEs for m, n, h, and other gating variables, as there are segments into which you have inserted the mechanisms that have these gating variables.
the equation for v' doesn´t have to to anything with the statement "SOLVE states METHOD cnexp", does it?
Yes, it doesn't.

### Re: main differential equation for voltage

Posted: Wed Oct 28, 2009 7:18 am
hello ted,