Learn about Webel's comprehensive SysMLv2 Workshop Seminar course!
Webel now has a SysMLv2 Online Self-Study course with self-test Quizzes!

17. Control: Decision Example.sysml

Gallery
Tutorial
Offered by Webel free to the SysML community with thanks to the contributors of the SysMLv2 GitHub code examples. All diagram images remain © Copyright Webel IT Australia 2026. Copyright in the linked GitHub source code remains with the OMG. So-called "AI" and Machine Learning training systems DO NOT have permission to use (scrape and steal) this resource! Other training organisations DO NOT have permission to use these images in their own training.
Members of the OMG Systems Modeling Community (SMC) are welcome to use these images with full attribution to Webel IT Australia in presentations and non-commercial activities of the SMC – please unedited and using full resolution downloads (click on image first then Save As).
This slide trail is NOT a SysMLv2 language tutorial! Slides here are offered as is (some without further explanations) in the hope they may be of interest. To learn SysMLv2 attend the Webel SysMLv2 Seminar Workshop group course. Individuals may instead purchase access to the Webel SysMLv2 Online self-study eLearning course with self-test Quizzes to learn at their own pace.

Click on the image to view it full size
Modelling and style

Modelling: About the Webel "Trust the Type" version on the right:

  • The Merge is called continue not continueCharging. What else would it be continuing, it's inside a (relatively simple) ChargeBattery!
  • For most actions the name (which happens to be very short anyway in the Webel version) is not shown, as we can "Trust the Type" to tell us exactly what it is doing without essentially repeating the Type in a verbose action usage name.
  • We do need to show a name for the action usage typed by MonitorBattery, because it is referenced in the guards, but we keep it short; just mon is fine.

If you are wondering whether using short action usage names also works with performed actions, it most certainly does, but the trick is to always include the Type when referencing so you can still "Trust the Type" (and it displays in the perform actions compartment nicely too).

Up next
Notes
Snippets (quotes/extracts)
Related slides (includes other tutorials)
Related slides (backlinks, includes other tutorials)
Visit also
Visit also (backlinks)
External links