template based code generation for networks of hybrid
play

Template based code generation for networks of hybrid systems - PowerPoint PPT Presentation

Template based code generation for networks of hybrid systems Cambdridge CodeGen Workshop Boris Marin Silver Lab University College London January 7, 2014 Boris Marin (University College London) 1 / 7 Model specifiation languages


  1. Template based code generation for networks of hybrid systems Cambdridge CodeGen Workshop Boris Marin Silver Lab University College London January 7, 2014 Boris Marin (University College London) 1 / 7

  2. Model specifiation languages Requirements (in the context of Computational Neuroscience) discrete units , modeled as dynamical systems ODE s / maps SDE s / kinetic schemes discontinuous state jumps (e.g. synaptic coupling) event detection (rootfinding) networks of units event propagation In summary, networks of hybrid systems Boris Marin (University College London) 2 / 7

  3. Model specifiation languages Requirements (in the context of Computational Neuroscience) discrete units , modeled as dynamical systems ODE s / maps SDE s / kinetic schemes discontinuous state jumps (e.g. synaptic coupling) event detection (rootfinding) networks of units event propagation In summary, networks of hybrid systems Boris Marin (University College London) 2 / 7

  4. Model specifiation languages Requirements (in the context of Computational Neuroscience) discrete units , modeled as dynamical systems ODE s / maps SDE s / kinetic schemes discontinuous state jumps (e.g. synaptic coupling) event detection (rootfinding) networks of units event propagation In summary, networks of hybrid systems Boris Marin (University College London) 2 / 7

  5. Model specifiation languages Requirements (in the context of Computational Neuroscience) discrete units , modeled as dynamical systems ODE s / maps SDE s / kinetic schemes discontinuous state jumps (e.g. synaptic coupling) event detection (rootfinding) networks of units event propagation In summary, networks of hybrid systems Boris Marin (University College London) 2 / 7

  6. Model specifiation languages Requirements (in the context of Computational Neuroscience) discrete units , modeled as dynamical systems ODE s / maps SDE s / kinetic schemes discontinuous state jumps (e.g. synaptic coupling) event detection (rootfinding) networks of units event propagation In summary, networks of hybrid systems Boris Marin (University College London) 2 / 7

  7. Model specifiation languages Requirements (in the context of Computational Neuroscience) discrete units , modeled as dynamical systems ODE s / maps SDE s / kinetic schemes discontinuous state jumps (e.g. synaptic coupling) event detection (rootfinding) networks of units event propagation In summary, networks of hybrid systems Boris Marin (University College London) 2 / 7

  8. Model specifiation languages Requirements (in the context of Computational Neuroscience) discrete units , modeled as dynamical systems ODE s / maps SDE s / kinetic schemes discontinuous state jumps (e.g. synaptic coupling) event detection (rootfinding) networks of units event propagation In summary, networks of hybrid systems Boris Marin (University College London) 2 / 7

  9. Model specifiation languages Requirements (in the context of Computational Neuroscience) discrete units , modeled as dynamical systems ODE s / maps SDE s / kinetic schemes discontinuous state jumps (e.g. synaptic coupling) event detection (rootfinding) networks of units event propagation In summary, networks of hybrid systems Boris Marin (University College London) 2 / 7

  10. Model specifiation languages Requirements (in the context of Computational Neuroscience) discrete units , modeled as dynamical systems ODE s / maps SDE s / kinetic schemes discontinuous state jumps (e.g. synaptic coupling) event detection (rootfinding) networks of units event propagation In summary, networks of hybrid systems Boris Marin (University College London) 2 / 7

  11. Model specifiation languages LEMS: a general purpose model specifiation language SPOILER ALERT! Boris Marin (University College London) 3 / 7

  12. Model specifiation languages LEMS: a general purpose model specifiation language Boris Marin (University College London) 3 / 7

  13. Simulating hybrid systems From MSL to simulation Bottom line: Simulation of hybrid systems is a well established field. Why not using state of the art numerical libraries? numerical stability stiffness Zeno error control (variable stepsize) accurate event detection Boris Marin (University College London) 4 / 7

  14. Simulating hybrid systems From MSL to simulation Bottom line: Simulation of hybrid systems is a well established field. Why not using state of the art numerical libraries? numerical stability stiffness Zeno error control (variable stepsize) accurate event detection Boris Marin (University College London) 4 / 7

  15. Simulating hybrid systems From MSL to simulation Bottom line: Simulation of hybrid systems is a well established field. Why not using state of the art numerical libraries? numerical stability stiffness Zeno error control (variable stepsize) accurate event detection Boris Marin (University College London) 4 / 7

  16. Simulating hybrid systems From MSL to simulation Bottom line: Simulation of hybrid systems is a well established field. Why not using state of the art numerical libraries? numerical stability stiffness Zeno error control (variable stepsize) accurate event detection Boris Marin (University College London) 4 / 7

  17. Simulating hybrid systems From MSL to simulation Bottom line: Simulation of hybrid systems is a well established field. Why not using state of the art numerical libraries? numerical stability stiffness Zeno error control (variable stepsize) accurate event detection Boris Marin (University College London) 4 / 7

  18. Our contribution The need for an intermediate format template-based code generation: attract expert users close correspondence to target structure most targets use a similar format alternative approach: develop a compiler Boris Marin (University College London) 5 / 7

  19. Our contribution The need for an intermediate format template-based code generation: attract expert users close correspondence to target structure most targets use a similar format alternative approach: develop a compiler Boris Marin (University College London) 5 / 7

  20. Our contribution The need for an intermediate format template-based code generation: attract expert users close correspondence to target structure most targets use a similar format alternative approach: develop a compiler Boris Marin (University College London) 5 / 7

  21. Our contribution The need for an intermediate format template-based code generation: attract expert users close correspondence to target structure most targets use a similar format alternative approach: develop a compiler Boris Marin (University College London) 5 / 7

  22. Our contribution The distilled LEMS format Goal: direct mapping to widely used ODE steppers with event handling Boris Marin (University College London) 6 / 7

  23. Our contribution The distilled LEMS format Boris Marin (University College London) 6 / 7

  24. Our contribution Current status LEMS �→ d LEMS �→ LLNL Sundials ( CVODE / IDA ) matlab ODE suite XPPAUT modelica (nearly) effortless accomodation of addditional formats (nodes only: no event routing) Boris Marin (University College London) 7 / 7

  25. Our contribution Current status LEMS �→ d LEMS �→ LLNL Sundials ( CVODE / IDA ) matlab ODE suite XPPAUT modelica (nearly) effortless accomodation of addditional formats (nodes only: no event routing) Boris Marin (University College London) 7 / 7

  26. Our contribution Current status LEMS �→ d LEMS �→ LLNL Sundials ( CVODE / IDA ) matlab ODE suite XPPAUT modelica (nearly) effortless accomodation of addditional formats (nodes only: no event routing) Boris Marin (University College London) 7 / 7

  27. Our contribution Current status LEMS �→ d LEMS �→ LLNL Sundials ( CVODE / IDA ) matlab ODE suite XPPAUT modelica (nearly) effortless accomodation of addditional formats (nodes only: no event routing) Boris Marin (University College London) 7 / 7

  28. Our contribution Current status LEMS �→ d LEMS �→ LLNL Sundials ( CVODE / IDA ) matlab ODE suite XPPAUT modelica (nearly) effortless accomodation of addditional formats (nodes only: no event routing) Boris Marin (University College London) 7 / 7

  29. Our contribution Current status LEMS �→ d LEMS �→ LLNL Sundials ( CVODE / IDA ) matlab ODE suite XPPAUT modelica (nearly) effortless accomodation of addditional formats (nodes only: no event routing) Boris Marin (University College London) 7 / 7

Recommend


More recommend