Thanks a lot for your explanations!
I will give it a try, starting from the dev workflow
and maybe come back at you / nest users in case of problems... :)
From: Jan Hahne [jhahne(a)uni-wuppertal.de]
Sent: Tuesday, June 18, 2019 3:05 PM
Cc: GUARINO Domenico
Subject: Re: [NEST Users] AdEx gap junctions
it is true, that at the moment 'hh_psc_alpha_gap' and the most recently added
'hh_cond_beta_gap_traub' are the only predefined model that supports gap
junctions. However, in general it is possible to add gap-junction support to almost any
model in NEST by adding the necessary support for GapJunctionEvents to the C++ code of the
If you are interested in creating a new model with gap-junction support: The best way to
do so is to start with a copy of an already existing AdEx model and then add
* the I_gap term to the differential equation of the membrane potential (see
hh_psc_alpha_gap, lines 129-152)
* the computation of the membrane potential interpolation (see hh_psc_alpha_gap, lines
* the corresponding handle function "handle( GapJunctionEvent& e )" (see
hh_psc_alpha_gap, lines 711-725)
and the required buffers and adjustments for the iterative solution scheme. Comparing the
model code of 'hh_psc_alpha' and 'hh_psc_alpha_gap' gives you a good
overview of everything that is needed. If you need any assistance in the progress you can
also contact me any time.
Please also note: For the future it is planned to integrate gap-junction support in the
modeling language NESTML, which will enable you to create new models with gap junctions
without actually touching the C++ code. However, there is not yet a fixed timetable for
when this will be available.
Am 18.06.19 um 10:43 schrieb
from the NEST docs(https://www.nest-simulator.org/simulations-with-gap-junctions/)
I see that only the cell model 'hh_psc_alpha_gap' can use gap junctions.
Is it true?
If true, are there any plans (or hacks) to have it also for the AdEx model?
NEST Users mailing list --
To unsubscribe send an email to