Page 1 of 1

Temperature Dependent Membrane Capacitance

Posted: Sat May 30, 2020 4:18 am
by HTNA
Hi
I want to modify HH model so that membrane capacitance changes with a specific function that depends on the temperature and the total current through the membrane changes as:
I= (c(T)*dv/dt) + (dc/dt * v)
my question is that if I define the capacitance in the mod file (BREAKPOINT) such this:
c(T)=c0+c1/T(t)
and declare T(t) in FUNCTION block will I get a correct response?
in fact I want to ask when membrane capacitance and total current changes with temperature, should also m, h, n terms change in mod file?

Re: Temperature Dependent Membrane Capacitance

Posted: Mon Jun 01, 2020 11:50 am
by hines
Please see https://github.com/nrnhines/dcmdt in particular the comment in hhdcdt.mod

Re: Temperature Dependent Membrane Capacitance

Posted: Mon Jun 01, 2020 5:56 pm
by HTNA
hines wrote: Mon Jun 01, 2020 11:50 am Please see https://github.com/nrnhines/dcmdt in particular the comment in hhdcdt.mod
Thanks for your helpful reply

Re: Temperature Dependent Membrane Capacitance

Posted: Sat Oct 03, 2020 5:25 am
by HTNA
hines wrote: Mon Jun 01, 2020 11:50 am Please see https://github.com/nrnhines/dcmdt in particular the comment in hhdcdt.mod
I used this for an unmyelinated axon and the results were acceptable but now I try to use this for a myelinated axon and I think my results are not correct, actually, as I connect an internode with passive mechanism to a node with modified "high density HH" mechanism that membrane capacitance is variable, generated action potential decreased from 80mV to about 5mV.
What's wrong with my model?

Re: Temperature Dependent Membrane Capacitance

Posted: Sat Oct 03, 2020 7:05 am
by hines
If you are using extracellular, make sure you have that inserted in every node as well as the myelin sections. Otherwise the extracellular current balance boundary conditions may not be as expected.