NMDA_S cannot be used with CVODE
Posted: Tue May 26, 2015 9:30 am
Hello to all,
I am trying to modify the file nmda2.mod file from http://senselab.med.yale.edu/ModelDB/Sh ... \nmda2.mod so that it writes the calcium current, ica, and that it responds to an event received by a NetStim. I get the error I thought that a call to net_event() in the NET_RECEIVE block would be enough. Is it due to not having a call to/improper use of at_time() ?
The other modifications to the file are as follows:
1) nmda2.mod has a pointer pre which should be set to point to a variable depending on which release of transmitter is simulated. I have replaced that variable with an indicator variable saying whether an event has arrived. It is set in the NET_RECEIVE block:
2) At line 179 of nmda2.mod I have replaced the if statement that checks whether pre is above the threshold for transmitter release with:
3) The NONSPECIFIC_CURRENT statement has been replaced with
Best regards
I am trying to modify the file nmda2.mod file from http://senselab.med.yale.edu/ModelDB/Sh ... \nmda2.mod so that it writes the calcium current, ica, and that it responds to an event received by a NetStim. I get the error
Code: Select all
NMDA_S cannot be used with CVODE
The other modifications to the file are as follows:
1) nmda2.mod has a pointer pre which should be set to point to a variable depending on which release of transmitter is simulated. I have replaced that variable with an indicator variable saying whether an event has arrived. It is set in the NET_RECEIVE block:
Code: Select all
NET_RECEIVE(dummy (uS)) {
indicator = 1
net_event(t)
}
Code: Select all
if (indicator == 1) { : spike occured?
indicator = 0
Code: Select all
USEION ca WRITE ica