Page 1 of 1

Odd voltage results

Posted: Sun Oct 31, 2010 5:25 am
by maya
I run a model of a complicated reconstructed cell using nrn7.1 version.
I insert only nseg, e_pas, g_pas, cm, global_ra and celsius and I run the simulation with a voltage graph.

This is a simple simulation, but it results in a crazy voltage graph from the first millisecond: Image.
Changing to other global_ra and celsius parameters causes another very odd voltage graph: Image.


What do you think is wrong?

Re: Odd voltage results

Posted: Sun Oct 31, 2010 5:28 am
by maya

Update

Posted: Sun Oct 31, 2010 9:56 am
by maya
After working on this strange phenomenon for 3 days, I found the bug!
One of the many dendrites was actually composed of a couple of the same XYZ location points:

Code: Select all

apic[64] {pt3dclear()
   pt3dadd(-31.1, 253.26, -34.24, 2.07)
   pt3dadd(-31.1, 253.26, -34.24, 2.07)
}
This probably caused Neuron to think this is a circle, and caused an endless loop or something...
Now everything looks normal :)

Re: Odd voltage results

Posted: Sun Oct 31, 2010 12:12 pm
by ted
The graphs are very strange and ugly.

The morphology error would produce a section with length 0. I don't know if that is sufficient to account for the results you got; I would expect that NEURON knows how to deal with such model specification errors. Wildly erroneous results can be a symptom of serious problems in one or more mod files. If you would like me to examine your mod files to see if such problems exist, zip them up and email them to ted dot carnevale at yale dot edu