Skip to content

NMODL alpha-synapse (missing at_time) #1614

Answered by halfflat
espenhgn asked this question in Q&A
Discussion options

You must be logged in to vote

The limitation in Arbor mechanisms (as they currently are defined) is that we don't explicitly expose time as a parameter for use in BREAKPOINT. One can work around this though by adding a state variable u say which has derivative 1, e.g.

STATE {
    u
}
INITIAL {
    u = -onset
}
BREAKPOINT {
     SOLVE state METHOD cnexp
     g = gmax * alpha(u / tau)
     i = g*(v-e)
}
DERIVATIVE state {
    u' = 1
}

We don't support at_time; NEURON uses it to indicate to a variable time step solver that there is a discontinuity at a particular point in time but we only have a solver that respects the specified max dt in the simulation, and outside of event handling, we don't account for discontinuiti…

Replies: 2 comments 2 replies

Comment options

espenhgn
Jul 30, 2021
Collaborator Author

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@espenhgn
Comment options

espenhgn Jul 31, 2021
Collaborator Author

@espenhgn
Comment options

espenhgn Jul 31, 2021
Collaborator Author

Answer selected by halfflat
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants