How to Model and Simulate States and Activities Together as Part of a Single System Model in SysML

Поделиться
HTML-код
  • Опубликовано: 26 авг 2024
  • In this step by step tutorial we show all three methods how to model and simulate states and activities (functions) of the system together in context of single executable system model.
    Activities are behaviors and they can be executed by the state.
    But what if we have more then one activity? Which shall be executed while in the state? We have at last three ways to solve this problem:
    1. Multiple inner states associated with activities as behaviors.
    2. One activity executed by the state and this activity is calling other activities.
    3. Internal transitions triggered by signals and executing activities as an effects
    Here is the model: www.dropbox.co...

Комментарии • 20

  • @beccared5319
    @beccared5319 3 года назад +1

    I remember once I learned about internal transitions, I realized the real power of state machines. Great explanation!

    • @MBSEExecution
      @MBSEExecution  3 года назад

      Hello Becca. Great feedback. Experts understand real value of simple but important things!

  • @stever3886
    @stever3886 2 года назад +1

    Really nice video. LOTs of informational packed into this video! I’m just learning SysML and these methods introduced here will be useful.

  • @MrTunatilkioglu
    @MrTunatilkioglu 3 года назад +1

    Hi, I can say I follow the same steps but for the last method.i could not see the inside run in scan activity diagram. Could it be from software version (sp 19.2) or maybe i have done a wrong step? Thanks in advance!

    • @MBSEExecution
      @MBSEExecution  3 года назад

      Hello Tuna. Hard to say. Maybe you can share sample at MBSEExecution@gmail.com

  • @gengistr4566
    @gengistr4566 2 года назад +1

    Thanks for the video. I am looking how to integrate a decision table into an activity diagram. I have three parameters that could take boolean values, and need to output specific values for each combination of parameters. How can this be modeled and simulated? Ideal is to take the input parameters from parameters values of defined blocks and output to an other parameter of targeted block.

    • @MBSEExecution
      @MBSEExecution  2 года назад

      What about opaque action with input and output pins performing some logic?

  • @siddheshr7885
    @siddheshr7885 Год назад +1

    Thanks for the very helpful video. I run into a problem when activity diagram has a decision node, in that case the diagram opens in a new window. Is there any work around?

    • @MBSEExecution
      @MBSEExecution  Год назад

      Hello, thank you! Yes you can have guards after decision node which are resolved automatically: based on value property pf context block, randomness, or just True / False.

  • @jakehomann4084
    @jakehomann4084 3 года назад +1

    I have multiple states that all perform the same activity while in each respective state. From a reuse perspective, I am concerned by having multiple activities with the same name in my model. Is there a way to assign activity to a state without creating another duplicate activity calling the original one? I understand state transitions and assigning activity to a signal, but that still creates another activity and diagram essentially acting as a pass through to the main activity.

    • @MBSEExecution
      @MBSEExecution  3 года назад +1

      Hello Jake, thank you for your feedback. As you know and indicate by draging activity on state it gets assigned to it. Same activity can be assigned to multiple states. Standard requires that activity would be in state, so on drag and drop of activity another activity is created which calls oroginal one and added into state. So original activity can be at any location and be compleatly reusable.

  • @MrTunatilkioglu
    @MrTunatilkioglu 3 года назад +1

    This is really great example how to change states based on activities.thank you! Do you have similar examples of thermal/fluidics systems?(ex: valve states on/off according to pressure or temperature etc. )

    • @MBSEExecution
      @MBSEExecution  3 года назад +1

      Thank you for the feedback Tuna! I think you can use change event on transition in state - e.g. when (pressure < 20) . E.g. ruclips.net/video/MlY_8uHIxx0/видео.html Also you can do change event with activities E.g. ruclips.net/video/8eFfBVilHm4/видео.html

    • @MrTunatilkioglu
      @MrTunatilkioglu 3 года назад +1

      @@MBSEExecution thank you😊

    • @MBSEExecution
      @MBSEExecution  3 года назад

      You are very welcome! :)

  • @Gunnl
    @Gunnl Год назад

    too bad the tool is Eclipse based... I don't know why people keep using it... even with modern computers, eclipse remains slow, sluggish and inelegant UI/UX...

    • @MBSEExecution
      @MBSEExecution  Год назад

      Hello Gunmi, it is not Eclipse based. Never was.

    • @Gunnl
      @Gunnl Год назад +1

      @@MBSEExecution hmmm interesting... I could swear I heard it mentioned in the video

    • @MBSEExecution
      @MBSEExecution  Год назад

      Thank you for asking. It interchange files with Eclipse in some very specific scenarios. But does not depend on it in any way.