Hi Gustavo,Thank you for sharing the code.I looked at the generated code and found that there is indeed a bug in NESTML for this particular case where the equation has a numeric solver and refers to a spiking input port. I have created an issue for this: https://github.com/nest/nestml/issues/900While we fix this issue, could I ask you to make a small change in the generated code? In the file izhikevich_ODE.cpp, please replace the line 315 with the below code:f[State_::SS] = (-0.001) * ode_state[State_::SS] / node.P_.tau + 0.001 * node.P_.S_jump * node.B_.spike_inputs_grid_sum_[izhikevich_ODE::SPIKES - izhikevich_ODE::MIN_SPIKE_RECEPTOR] / node.P_.N;After this, compile the code by going into the target directory and running make and make install.Please note that it would take some time for us to fix this and apologize for the inconvenience.I hope this fix helps!Thanks,PoojaOn 7. May 2023, at 20:01, Gustavo Patow <gustavo.patow@udg.edu> wrote:Dear Pooja,The nestml file is this one (direct link):https://www.dropbox.com/s/esj5ngyjkui0024/izhikevich_ODE.nestml?dl=0And the contents of /tmp/nestml-component/ is in the following zip file:https://www.dropbox.com/s/u10ivrs6y3v1pyr/nestml-component.zip?dl=0I am sorry of this is not what you asked for, as I said, I am too newbie in nest/nestml...bestgus.---Prof. Dr. Gustavo A. PATOWViRVIG-UdG and CNS-UPFEdifici P-IV, Campus Montilivi,Universitat de Girona,17003 Girona, SPAINhttp://imae.udg.edu/~dagush/_______________________________________________NEST Users mailing list -- users@nest-simulator.orgTo unsubscribe send an email to users-leave@nest-simulator.org_______________________________________________NEST Users mailing list -- users@nest-simulator.orgTo unsubscribe send an email to users-leave@nest-simulator.orgAttachments:
- smime.p7s