hans vangheluwe
play

Hans Vangheluwe Modelling and Simulation Causes of Complexity - PowerPoint PPT Presentation

Modelling and Simulation Causes of Complexity Dealing with Complexity Multi-Paradigm Modelling Modelling and Simulation to tackle Complexity Hans Vangheluwe Modelling and Simulation Causes of Complexity Dealing with Complexity


  1. Modelling and Simulation Causes of Complexity Dealing with Complexity Multi-Paradigm Modelling Modelling and Simulation to tackle Complexity Hans Vangheluwe

  2. Modelling and Simulation Causes of Complexity Dealing with Complexity Multi-Paradigm Modelling Modelling and Simulation 1 Modelling and Simulation for . . . The Modelling Relationship Causes of Complexity 2 Large Number of Components Components in Different Formalisms Non-compositional/Emergent Behaviour Uncertainty Dealing with Complexity 3 Multiple Abstraction Levels Optimal Formalism Multi-Formalism Multiple Views/Aspects Multi-Paradigm Modelling 4

  3. Modelling and Simulation Causes of Complexity Dealing with Complexity Multi-Paradigm Modelling Modelling and Simulation for . . . Simulation . . . when too costly/dangerous analysis ↔ design

  4. Modelling and Simulation Causes of Complexity Dealing with Complexity Multi-Paradigm Modelling Modelling and Simulation for . . . Simulation . . . real experiment not ethical training, physical simulation

  5. Modelling and Simulation Causes of Complexity Dealing with Complexity Multi-Paradigm Modelling Modelling and Simulation for . . . Simulation . . . evaluate alternatives

  6. Modelling and Simulation Causes of Complexity Dealing with Complexity Multi-Paradigm Modelling Modelling and Simulation for . . . Simulation . . . “Do it Right the First Time”

  7. Modelling and Simulation Causes of Complexity Dealing with Complexity Multi-Paradigm Modelling Modelling and Simulation for . . . “shooting” problems

  8. Modelling and Simulation Causes of Complexity Dealing with Complexity Multi-Paradigm Modelling Modelling and Simulation for . . . defining a “hit” 20 15 Height (m) 10 5 θ origin (0, 2) target (30, 1) 0 0 5 10 15 20 25 30 Distance (m)

  9. Modelling and Simulation Causes of Complexity Dealing with Complexity Multi-Paradigm Modelling Modelling and Simulation for . . . optimizing a “performance metric” 30 25 20 15 10 5 0 0 10 20 30 40 50 60 70 80 90

  10. Modelling and Simulation Causes of Complexity Dealing with Complexity Multi-Paradigm Modelling Modelling and Simulation for . . . optimal solution. . . s

  11. Modelling and Simulation Causes of Complexity Dealing with Complexity Multi-Paradigm Modelling Modelling and Simulation for . . . Modelling/Simulation . . . and code/app Synthesis

  12. Modelling and Simulation Causes of Complexity Dealing with Complexity Multi-Paradigm Modelling Modelling and Simulation for . . . The spectrum of uses of models Documentation Formal Verification (all models, all behaviours) Model Checking (one model, all behaviours) Simulation (one model, one behaviour) Synthesis

  13. Modelling and Simulation Causes of Complexity Dealing with Complexity Multi-Paradigm Modelling The Modelling Relationship REALITY MODEL GOALS Real-World Base entity Model only study behaviour in experimental context within context Model Base System S Model M a-priori knowledge experiment simulate within context = virtual experiment validation Experiment Simulation Results Modelling and Simulation Observed Data Process

  14. Modelling and Simulation Causes of Complexity Dealing with Complexity Multi-Paradigm Modelling The Modelling Relationship System Frame Output Frame Input (real or model) Variables Variables Experimental Frame generator acceptor transducer set of all “contexts” in which model is valid includes experiment descriptions: parameters, initial conditions ∼ re-use, testing

  15. Modelling and Simulation Causes of Complexity Dealing with Complexity Multi-Paradigm Modelling The Modelling Relationship thanks to Pieter Mosterman

  16. Modelling and Simulation Causes of Complexity Dealing with Complexity Multi-Paradigm Modelling The Modelling Relationship

  17. Modelling and Simulation Causes of Complexity Dealing with Complexity Multi-Paradigm Modelling Dealing with Complexity

  18. Modelling and Simulation Causes of Complexity Dealing with Complexity Multi-Paradigm Modelling Large Number of Components Crowds www.3dm3.com

  19. Modelling and Simulation Causes of Complexity Dealing with Complexity Multi-Paradigm Modelling Large Number of Components Number of Components – hierarchical (de-)composition

  20. Modelling and Simulation Causes of Complexity Dealing with Complexity Multi-Paradigm Modelling Components in Different Formalisms Diversity of Components: Paper Mill www.gov.karelia.ru

  21. Modelling and Simulation Causes of Complexity Dealing with Complexity Multi-Paradigm Modelling Components in Different Formalisms Paper Mill Model PaperPulp mill Waste Water Treatment Plant System of WWTP and Stormwater tanks (DEVS) M,S M,S M,S WWTP (DESS) M,S Aeration Sedimentation Switch Mixing Q Effluent Influent Activated sludge unit M,S (DESS) Clarifier (DESS) Q Recycle (return) flow Output function M,S M,S M,S M,S Input function Stormwater tank 1 Input/Output function Stormwater tank 2 overflow fish EDRF + GE X X CFF GF CFA X + RRA algae Fish Farm

  22. Modelling and Simulation Causes of Complexity Dealing with Complexity Multi-Paradigm Modelling Components in Different Formalisms Multiple Formalisms: Power Window

  23. Modelling and Simulation Causes of Complexity Dealing with Complexity Multi-Paradigm Modelling Non-compositional/Emergent Behaviour Non-compositional/Emergent Behaviour

  24. Modelling and Simulation Causes of Complexity Dealing with Complexity Multi-Paradigm Modelling Non-compositional/Emergent Behaviour Engineered Emergent Behaviour

  25. Modelling and Simulation Causes of Complexity Dealing with Complexity Multi-Paradigm Modelling Uncertainty Often related to level of abstraction: for example continuous vs. discrete www.engr.utexas.edu/trafficSims/ uncertainty � = imprecise � = not rigorous

  26. Modelling and Simulation Causes of Complexity Dealing with Complexity Multi-Paradigm Modelling Guiding principle minimize accidental complexity , only essential complexity remains Fred P . Brooks. No Silver Bullet – Essence and Accident in Software Engineering. Proceedings of the IFIP Tenth World Computing Conference, pp. 1069–1076, 1986. http://www.lips.utexas.edu/ee382c-15005/Readings/Readings1/05-Broo87.pdf

  27. Modelling and Simulation Causes of Complexity Dealing with Complexity Multi-Paradigm Modelling No Free Lunch! Solutions often introduce their own accidental complexity multiple abstraction levels (need morphism ) optimal formalism (need precise meaning ) multiple formalisms (need relationship ) multiple views (need consistency )

  28. Modelling and Simulation Causes of Complexity Dealing with Complexity Multi-Paradigm Modelling Multiple Abstraction Levels Different Abstraction Levels – properties preserved

  29. Modelling and Simulation Causes of Complexity Dealing with Complexity Multi-Paradigm Modelling Multiple Abstraction Levels Levels of Abstraction/Views: Morphism model M_t M_d abstraction simulation trajectory traj_t traj_d detailed abstract (technical) level (decision) level

  30. Modelling and Simulation Causes of Complexity Dealing with Complexity Multi-Paradigm Modelling Multiple Abstraction Levels Abstraction Relationship foundation : the information contained in a model M . Different questions (properties) P = I ( M ) which can be asked concerning the model. These questions either result in true or false. Abstraction and its opposite, refinement are relative to a non-empty set of questions (properties) P . If M 1 is an abstraction of M 2 with respect to P , for all p ∈ P : M 1 | = p ⇒ M 2 | = p . This is written M 1 ⊒ P M 2 . M 1 is said to be a refinement of M 2 iff M 1 is an abstraction of M 2 . This is written M 1 ⊑ P M 2 .

  31. Modelling and Simulation Causes of Complexity Dealing with Complexity Multi-Paradigm Modelling Optimal Formalism Most Appropriate Formalism

  32. Modelling and Simulation Causes of Complexity Dealing with Complexity Multi-Paradigm Modelling Multi-Formalism Components in Different Formalisms www.mathworks.com/products/demos/simulink/PowerWindow/html/PowerWindow1.html

  33. Modelling and Simulation Causes of Complexity Dealing with Complexity Multi-Paradigm Modelling Multi-Formalism Controller, using Statechart(StateFlow) formalism

  34. Modelling and Simulation Causes of Complexity Dealing with Complexity Multi-Paradigm Modelling Multi-Formalism Mechanics subsystem

  35. Modelling and Simulation Causes of Complexity Dealing with Complexity Multi-Paradigm Modelling Multiple Views/Aspects Multiple (consistent !) Views (in � = Formalisms) (work by Esther Guerra and Juan de Lara)

  36. Modelling and Simulation Causes of Complexity Dealing with Complexity Multi-Paradigm Modelling Multiple Views/Aspects View: Runtime Diagram

  37. Modelling and Simulation Causes of Complexity Dealing with Complexity Multi-Paradigm Modelling Multiple Views/Aspects View: Events Diagram

  38. Modelling and Simulation Causes of Complexity Dealing with Complexity Multi-Paradigm Modelling Multiple Views/Aspects View: Protocol Statechart

Recommend


More recommend