NESTML is a user-friendly, flexible and powerful domain-specific language that enables neuroscientists to write custom neuron models and to generate efficient simulation code, quickly and easily.

Our offer

  • Specify neuron models in a precise and user-friendly syntax, inspired by Python
  • Greatly simplifies the modelling process, for users with and without prior training in computer science
  • Automatic source-code generation yields high-performance simulation
  • One model file can target different hardware or software platforms, by changing a single command-line parameter
  • Models library: plug-and-play any one of over a dozen downloadable models
  • Lightweight, modular and extensible


Write custom models using NESTML

Model equations can be given either as a simple string of mathematical notation or as an algorithm written in the built-in procedural language. The equations are analysed by the associated ODE-toolbox toolchain, to compute an exact solution, if possible, or otherwise to invoke an appropriate numerical solver.

NESTML can generate code for virtually any hardware or software simulation platform, by using a set of platform-specific templates and the off-the-shelf templating engine Jinja. A library of model transformations is available to simplify code generation.

Access all EBRAINS services