Sequence Diagram as Interaction Scenario

Поделиться
HTML-код
  • Опубликовано: 22 июл 2019
  • Video demonstrates usage of sequence diagram to model and execute interaction scenario. Different messages are send through different connectors which is specified on message connector property. Messages are passing signals with parameters and arguments specified on message. Signal parameters are updated during simulation before and after signal is sent.
    Video download: bit.ly/3b6x9pb
  • НаукаНаука

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

  • @kobikobiaszu7055
    @kobikobiaszu7055 Год назад +2

    Actually the only good SysML coach, If you are looking for tutorial stop right now - this is the guy you are looking for

  • @willwalker2520
    @willwalker2520 3 года назад +3

    Thanks so much for all of your videos! extremely helpful stuff!!

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

    Super Saulius :)

  • @hectorachille8268
    @hectorachille8268 3 года назад +4

    Hello, thank you for the tutorial. Sorry, my English still poor. I have some trouble during simulation, I have added a user as a block to the system context. User send a request to subsystem B1 and B1 send another signal to subsystem B2. But the signal from the user to the subsystems B1 is not send (user block is not a part of my system).
    Could you help me please?
    Thank you.

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

      Hello Hector. Please send sample with indication what you execute and what is not working to MBSEexecution@gmail.com

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

      I don't know how much I can thank you.

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

    Great tutorial. I'm building an example similar to this but I get a Null expression body error where I assign x to the message (shown at 46.40). The only difference is the parameter is of an Enum type rather than a string. The signal parameters are correctly received from what I can see from the simulation.

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

      Hello. Maybe worth to write enumeration value to strong before sending? Just workaround in case so unknown issue..

  • @dezj9427
    @dezj9427 2 года назад +2

    Can you explain more why the B1's State Machine couldn't use the activity "Get Message" Accept signal? Is there an option where you can use an accept signal to accept the trigger's signal? If so , how? Thanks for the great video!!

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

      Hello Dez, thank you for great question. This is because accept event action was not active as it was in not active state. Ones transition was triggered by signal so accept event action which is in state will not be triggered by same signal anymore unless it will come again.

  • @DJ-cc2vr
    @DJ-cc2vr 4 года назад +1

    Hello, Thank you for this tutorial on sending signals using sequence diagram. I was able to follow along up minute 40:00, but had trouble as soon as I added a loop. The console says that "x" is not defined but as far as I can tell, it is defined with the opaque expression x>0 for the loop. I didn't see anywhere else to define X or the type of x as say, and integer?
    00:00:00,000 : **** Block System is initialized. ****
    00:00:00,000 : **** Block System behavior is started! ****
    00:00:01,253 ERROR: Cannot evaluate Opaque Expression: ReferenceError: "x" is not defined in at line number 1 expression body: x>0 00:00:01,263 : **** Interaction System execution is terminated. ****
    00:00:01,283 : **** Block System execution is terminated. ****

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

      Hello D J. Block System shall have value property "x" as this is context of sequence diagram. Variables used in fragments in sequence diagram context is block from which this sequence diagram is called - owner in this case as sequence diagram is classifier behavior of this block. Also be sure that you set the type for value as Opaque Expression ~ 40:54

    • @DJ-cc2vr
      @DJ-cc2vr 4 года назад +1

      Thank you.

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

      @@MBSEExecution Thanks! I had the same issue as well. I didn't see you add the "x" as an integer in the video.

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

      Thank you for sharing Dez!

  • @johnnynguyen7747
    @johnnynguyen7747 10 месяцев назад

    A little late to this but: why is it that the activity "get message" assigned as an entry behavior to the "Updating message" state knows to take the content of the signal S2 as the input parameter? Is there a way to formalize this? I notice when I added a second parameter to "get message", it did not work anymore

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

    I'm trying to trigger one state machine after the trigger of a signal in another state machine. Can this be done using a parametric model (like your state machine example) or does it have to be done using an activity diagram?

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

      Hello Priscilla. State machine can be triggered by an event (signal, property change, call operation, time) which it can see - so in context from which it was executed.

  • @RGill-yp1mj
    @RGill-yp1mj 4 года назад +1

    @ time ~ 34:04 you name the activity parameter node "p1".. My question is does it need to have the name p1 or could it be named anything?...Please elaborate

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

      Yes it is needed if you have more than one parameter. Lets say you have two or more signal parameters with same type, so they are identified by name at the moment when they are captured.

    • @RGill-yp1mj
      @RGill-yp1mj 4 года назад

      Thank You

  • @farshidabdehgah9016
    @farshidabdehgah9016 2 месяца назад +1

    Seeking Assistance with DFIG Wind Turbine
    Dear Professor Saulius Pavalkis,
    This is Farshid Abdehgah a student of Persian Country
    I hope you are doing well. I am currently working on my student project and could use guidance to complete it successfully. I understand you may be busy, but any help would be greatly appreciated.
    Please let me know how I can reach you. Thank you for your time and consideration!
    Sincerely,
    Farshid Abdehgah

    • @MBSEExecution
      @MBSEExecution  2 месяца назад

      Hello, you can contact at MBSEexecution@gmail.com

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

    Would you be willing to provide me with the finished example so I can mess around with it myself?

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

      Hello Will! Thank you for your request! Here it is - bit.ly/3b6x9pb

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

      @@MBSEExecution If you could make a video to explain how to use an interaction use on a sequence diagram that would be extremely helpful. Struggling to get it to work. I keep getting the error: "element from a different interaction cannot appear in the diagram of this interaction" when connecting arrows to the diagram frame.

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

      Hello Will. Rhank you for suggestion. Definately. Maybe this is issue with Interaction not covering lifelines. There should be action from interaction right click menu to control which lifelines are covered.