Hi, thanks very much for your inquiry!
To add a gap junction to a NESTML model, a few modifications to the toolchain would be required. A first idea would be to add a new input port with a type of "gap". If a gap junction port is present, we could then generate the handler for a GapJunctionEvent, as well as to generate the necessary code for the waveform relaxation mechanism in the update() method of the neuron.
If you'd like to do a deeper dive into this together, I would be happy to have a video call this week or the next (after that I will be in Marseille for the HBP Summit). Please let me know what options would work best for you.
Yours,
Charl
> Hi everyone, has anyone successfully added a gap junction to an
> existing model using NESTML? I would like to add gap junction support
> to the aeif_cond_alpha neuron model but it is unclear how this can be
> done within NESTML. As suggested by Charl, I started to look into
> updating the jinja templates but I am not sure this will be possible
> since both the input/output of the neuron and the model's equation must
> be updated to support gap junctions. If anyone has any suggestions or
> if anyone has NESTML code for adding a gap junction to an existing
> model, I would be very appreciative. Thanks!
> _______________________________________________
_______________________________________________