1 / 20

Model Building Experiences using Garp3: Problems, Patterns and Debugging

Model Building Experiences using Garp3: Problems, Patterns and Debugging. Jochem Liem , Floris E. Linnebank & Bert Bredeweg Human-Computer Studies University of Amsterdam. TexPoint fonts used in EMF. Read the TexPoint manual before you delete this box.: A A.

lexine
Download Presentation

Model Building Experiences using Garp3: Problems, Patterns and Debugging

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. Model Building Experiences using Garp3: Problems, Patterns and Debugging JochemLiem, Floris E. Linnebank & Bert Bredeweg Human-Computer Studies University of Amsterdam TexPoint fonts used in EMF. Read the TexPoint manual before you delete this box.: AA

  2. Motivation: Usability to Formalization Bottleneck • Availability of usable QR tools has led to: • More domain experts formalizing their conceptual knowledge • The creation of more complex models • Usability is no longer an issue • However, knowledge formalization is the new bottleneck • Modelers encounter similar representational issues, and reinvent solutions • This paper categorizes representation issues and their solutions.

  3. Trained Groups in QR Modelling • PhD-level researchers (NaturNet-Redime) • 2,5 year working with Garp3 • Trainings each half year • Support using Skype/Flashmeeting • BSc. Students (Future Planet Studies) • 4 weeks: Concept maps, Ontologies • 4 week: QR modelling (Carbon Cycle) • PhD-students (School for Information and Knowledge Systems) • 1 hour lecture + 2 hour practical: Tree & Shade model

  4. Entities or Quantities? Model by Elena Nakova , Yordan Uzunov • Alternative representations: • Algae entity with Biomass quantity • Algea concentration quantity • Create a new entity when properties of this entity are important. • E.g. photosynthesis quantity of the algae

  5. Configuration direction & naming • Prefer active voice over passive voice • Shorter configuration names • Improves texts based on QR models • Model by Richard Noble, Floris E. Linnebank & Bert Bredeweg

  6. Relation reification • Configuration direction is arbitrary • Long configuration name • Where to model speed of symbiosis process? • Model by Paulo Salles & Bert Bredeweg

  7. Influences & Proportionalities I+ Q2[+,?] Q1[+,-] I- Q1[+,-] Q2[+,?] I+ Q2[+,?] Q1[-,-] I- Q1[-,0] Q2[+,?]

  8. Causal Interactions I+ I+ Q2[+,?] Q3[-,-] Q1[+,-] I- I+ Q1[+,-] Q2[+,?] Q3[-,-] I+ I- Q2[+,?] Q3[-,-] Q1[-,-] I- I- Q1[-,0] Q2[+,?] Q3[-,-]

  9. Causal Chains • Causal path: Influence followed by proportionalities • Rare: Multiple influences in a single causal path • Impossible: Loop of proportionalities

  10. Multiple Competing Influences CO2 release I+ CO2 Concentration Burning I+ Co2 Concentration Inequality information does not help Burning + CO2 concentration > 0 Introduce Photosynthesis Burning + CO2 < Photosynthesis

  11. Choosing Quantity Spaces • Difficult task even for expert modelers • Should be behaviorally significant • Depends depends on the context: • Phytoplankton blocking sunlight of 1st producers • Global warming’s effect on phytoplankton

  12. {Small, Medium, High} considered harmful

  13. Actuators:External actuator (1/3) • Models (effect of) process outside the system • Value assignment (MF) • Exogenous behaviour (Scenario) • Model by Eugenia Cioaca, Tim Nuttle, Bert Bredeweg

  14. Actuators: Equilibrium Seeking Mechanism (2/3) • Models equalizing flows due to potential difference

  15. Actuators: Competing Processes Pattern (3/3) • Models competing processes

  16. States in simulation • Maximum number of states: • Cartesian product of all quantities • E.g. Three Q’s: (3x3)3=729 (excl. inequalities) • Successor states without correspondences: • S-states = 2q-1, q = non-corresponding quantities

  17. Not all expected states • Issue: State is missing • Create the state as a scenario • Option 1: No states, state is inconsistent • Option 2: State appears • Next create a scenario that generates a previous state • Continue to a state in the original simulation

  18. No States • Considered difficult to debug • Features: • Inconsistency • > 1 model fragment fired • Clash between contents of: • Scenario + MF • Multiple MFs • Troubleshooting: • Deactivate all MFs (at least 1 state from scenario) • Activate MFs one by one

  19. Inconsistencies • Magnitude or derivative value assignments (MF or scenario) • Inequalities (MF or Scenario) • Operators (plus or minus) • Value assignments due to correspondences • Value assignments due to influence resolution • Exogenous behavior • Engine rules • Quantity constraints • Continuity constraints

  20. Conclusions & Future Work • Catalog of • Representational issues and their solutions • Frequently occurring patterns • Considerations when debugging • Future work: Support in Garp3/DynaLearn • Premade patterns (QS’s and actuators) • Automatic model building • Model diagnosis

More Related