1 / 26

The National Center for Physics-Based Simulation of Biological Structures at Stanford

SimTK. SimTK. The National Center for Physics-Based Simulation of Biological Structures at Stanford. SimTK Architecture: preliminaries Michael Sherman 19 January 2005. Topics. My background Modeling and simulation Issues for SimTK. Virtual Mechanical Engineering. Spacecraft

Télécharger la présentation

The National Center for Physics-Based Simulation of Biological Structures at Stanford

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. SimTK SimTK The National Center forPhysics-Based Simulation of Biological Structuresat Stanford SimTK Architecture: preliminaries Michael Sherman 19 January 2005

  2. Topics • My background • Modeling and simulation • Issues for SimTK

  3. Virtual Mechanical Engineering • Spacecraft • Cars, trucks, bicycles • Tractors, bulldozers, cranes • Chain saws • Circuit breakers & controllers • Suspensions, Landing gears • Rudder mechanisms • Humans, cockroaches • Realistic vehicles & objects for video games, movies • Minesweeping devices • Robots • Beer can machinery • Micromechanical systems • Washing machines • Convertible tops • Toys, clock mechanisms • Sewing machines • Pumps, turbines, motors, generators • Engines & transmissions • Medical devices • Etc., etc., etc. …

  4. φ ψ Protein backboneStryer, L., Biochemistry 4th ed., pg. 420 (1999) ψ U-Joint & driveshaft Lucky break: Biomolecules are machines too! Substructures (torsion space) Coordinated motion (normal modes)

  5. SimTK Modeling and Simulation

  6. Terminology trouble • For most people, modeling = simulation • What is a mouse “model” of diabetes? • model (v): to produce (as by computer)a representation or simulation of. — Merriam-Webster Medical Dictionary • Use “solver” instead of “simulator” • But “models” & “solvers” are often interdependent • e.g., Langevin dynamics • and hierarchical models contain solvers

  7. a=f(A)/m ∫∫[●] W(A) dynamics W(A) D[●] ∂W/∂A sensitivity Abest W(A)∂W(A)/∂A min[●] optimization Model + Solver  Model Study: find muscle attachments A that minimize work W for one gait step model solver result

  8. SimTK Modeling Observation(data) predictions Modeling(models, solvers) Investigation

  9. discovery Investigation The purpose of modeling To create a computational system more rewardingto investigatethan the original physical system.

  10. Modeling is valid simplification • Performance is the primary issue • otherwise solve the wave function • What is a valid model?

  11. Model validity • Facevalidity • “looks good” • visualization, animation, games • Replicative validity • “interpolates” • Predictive validity • “extrapolates” • Structural validity • componentwise prediction • “teaches”

  12. Structural validity example • Globular cluster observation: stars with strange properties • Could collisions explain them?

  13. SimTK

  14. SimTK Goals • Enable “simulation” of biological structures at all scales • Platform for new technology • Modeling environment • Application development • Use/collaboration/dissemination • Manage computational resources • Ongoing collaborative development • “Open source” contributions • algorithms, models, applications, results • Build/test/release/support framework • Curation, quality control • Downloads, documentation, communication

  15. Distinct User Communities • Algorithm inventor • Modeler • Application developer • Scientist/clinician Caution:generality is not a benefit to a specialist!

  16. SimTK The SimTK Project www.SimTK.org SimTK Seed Engineering Technology Applications Engineering orientation SimbiosSoftware Mission

  17. Nature of the problem Application areas • Molecular mechanics • Neuromuscular • Lumped-atoms modeling • Cardiovascular flow • “Mezzo” scale models • Combinations Find the common thread — Activities of interest • Modeling • “Simulation”* • Animations/visualization • Data handling • Write applications * Types of “simulation” • Dynamics (time) • Thermodynamic sampling • Find static, dynamic equilibria • Sensitivity analysis • Design studies

  18. Necessary math for biosimulation Initial Value Problems • ODE • time-varying PDE • Diffusion, fluid flow, nonlinear elastic response • Algebraic constraints (DAE) • Discrete events • Monte Carlo sampling Boundary Value Problems • elliptic PDEs • (quasi)statics, electrostatics • ODE • Path fitting/planning Characteristics • Continuous/discrete • Differential/algebraic/difference • Stiff/nonstiff/stochastic • Linear/nonlinear • Combinations/hierarchies • Huge systems! Algebraic • Solve linear/nonlinear systems • Minimizations/optimizations • Local/global search • Kinematics

  19. {Biostructure simulation} = {simulation} • Problems are fully general (HPDAE) • True in other simulation “subsets” too • Mechanical systems • Electronics • Technology is the same, but … • apps & users are different.

  20. Simulation is its own field mathworks.com acims.arizona.edu modelica.org scs.org

  21. General simulation tools • Simulink (Matlab) • Modelica • Mathematica • Why not use one of those? ?

  22. Arguments for existing tools • Infrastructure is done • Many useful model components & solvers available • Extensible within framework • Reliable, well-tested • Many skilled users • Quickly build narrow apps • Max value is in models & apps, not infrastructure

  23. Arguments against existing tools • Total commitment required • Can only be dog, not tail • Can’t directly incorporate best-of-class work; must remodel • Block abstraction insufficient • Fails to capture multi-function “subsystems” • Computational aspects hidden • Hard to express “run this block on 200 CPUs” or “use GPUs if available” • Memory management difficult • Steve Jobs effect • Lesser issues: cost, availability of source

  24. Resolution • None yet. • Probably peaceful co-existence • Interface to Matlab, like Java/Tcl/Python • Use it for prototyping • Speculation: our goals require a new framework • Computationally aware • Easy to fit into existing environments • Use existing subsystems without rewrite • Open source, public domain • Cool

  25. Near term plans • Design new framework demonstrably better (for us) than Simulink (e.g.) • Hire programmers • Prototype SimTK.org structure • Build framework • Select, curate, wrap first algorithms, models, datasets, toolsets • Prototype “vertical slice” apps

  26. SimTK That’s all for now.

More Related