Powerful Interface Modeling and Simulation Using Association Block in SysML

Поделиться
HTML-код
  • Опубликовано: 27 авг 2024
  • In this step by step tutorial we show how to use association block to provide powerful modeling and simulation logic for interfaces in simple way.
    We show how to make connector to have block characteristics e.g. resistance, material, length, calculations and use this in simulation. We show how to use association block to create mapping between different interfaces, how to transform from one units to other.
    Model file - bit.ly/3FulPR4

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

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

    Yet another very informative video. Thanks for sharing. Initially I was wondering why to use the association block when I can directly connect the flow properties of the proxy ports and then you showed the unit conversion part that opens up a lot of possibilities of what all can be done with the association Block. Thanks again 👍

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

      Thank you Prasanna for the feedback!

  • @hamburgengineer
    @hamburgengineer 9 месяцев назад +1

    Excellent method.

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

    This tool is just amazing!

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

      Thank you Alfonso for the feedback!

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

    Thanks! This helps a lot. Can you explain how you would model two harnesses connected together between two subsystems where i can pass a value through? Example: subSysA--Harness1---Harness2--subSysB. My attempts are coming up short at the moment..

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

      Hello, maybe like this? ruclips.net/video/_zWHBw2SPWk/видео.html. Also you can handle signals at each harnesses like this ruclips.net/video/Il3V3KOFvTM/видео.html.

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

    Saulius, this a another great improvement. Thanks for sharing these types of enhancements. It looks like it is streamlining IBD's, parametrics, and simulations which is good. Question: If you have those same parts but a need to have a different or second type of associations using those same parts, can use place it on the same diagram as the first or do you need to create a second similair diagram to run the second type of association using those same parts? Thanks again

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

      Hello Kizer, thank you for the feedback and question. Im not sure exactly but same association block can be reused for multiple connectors. Also diagrams are representation of model so no need for separate diagram if model exist already.

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

    Excellent

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

    Great video! Love the application to simulations.
    Question: when you type a proxy port with an IF block that is connected to another IF block via association block, like it is done in this video, how can you show the flows within an ICD table?

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

      Hello Mason. ICD table should show flows out of the box as they part of interface block or item flows on connector but not association block.

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

    How can I see all the connections in the association block in a connector table? When I do this it only shows me the top level connector

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

      Hello Zeal. I think you need to set scope as more than top level system.

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

      I think I found a workaround. I added flow properties to the element type and then added the association block to the scope. If you know a more elegant way, please let me know.

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

      Might be good solution. Another one could be with custom table query.

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

    This video is great, thank you. Very helpful and simple which is exactly what everyone wants to see.
    I do have a question, for taking the example further.
    I'm trying to create a pinout level ICD table which can do simulation also (logical and physical).
    What I mean by that is Black box A (A) to connector A (port A) to pinout A to cable with signal/flow prop to pinout B to connector B (port B) to Black box B (B).
    Could I just convert your proxy port into a full port to be able to drill down to the pin out level?
    What are your thoughts?

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

      Thank you for your feedback Will! Greatly appreciated. Looks like it shall work with full ports and pins, but sample would be good to see and try expected behavior.

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

    Thanks. I expended some hours looking to this to work. This is because I have more complex flows (blocks with two values instead of just one integer value). I discovered that with the corner upper-right gear icon in the Simulation panel, we need to activate "show ports", that at least for me weren't show by default in the variables list. also I needed to activate Reference and Redefined properties in order to be able to access ports and flows. Why? Because if I don't "add value" on my flows (within my ports), the values don't appear in the simu, and it doesn't work.
    It works if flows are just integers or real numbers (like your example that I successful tested), but my ports have more complex flows (actually the flow (electricity) is a block with two values (voltage(in volts) and current (in amperes))). Now looking for a way to automatic "add values" (those required) for simulation instead to have navigate and added every time the simulation is run. I am connecting two "one pin electrical ports" and I need to connect the same port with itself (of course in another object), to work around this, I created two sons of my onePinelectricalInterface and redefined the flows. So I was able to define an Association Block between both. I tried before relating two copies of the same interface without success.
    If there is a better way to do this please comment. Thanks!

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

      Hello Gengis. Thank you for your feedback. Maybe storing values in instane and simulating instance would help? Instance can store structured values.

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

      What do you mean by "add value on flows?" I am trying to do a similar thing. I would like a block to flow across my connector, but for it to carry values set in the block that owns the port typed by that interface.

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

      Hello Ryan. Not sure is this helpful. But here are few methods ruclips.net/video/di7oJYtp1T8/видео.html

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

      @@MBSEExecution Thanks, this video is helpful. I have used the Ports, No inheritance portion of this example, except instead of binding together primitive value types in the Interface IBD, I am trying to bind together value properties of an object (block) that is the flow property of those two interface blocks. This is similer to @Gengis TR, I believe, but I am then trying to associate value properties of the subsystems to the value properties of my block flow properties. The simulation simulates everything except for the flow properties values. This is a tough one, but I feel like there must be a solution.

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

      I found out that if you set the default value of the flow property block to an instance of that block, you can then interact with it in a simulation.

  • @f.h.37
    @f.h.37 2 года назад +1

    Thank you for the wonderful video, i have two questions,
    1. did you generalized blocks A and B with A IF and B IF? if i don't do that the ports flow property does not show in the simulation pan.
    2. what did you do to display the values for a,.b,c,x,y and z on the association block ibd during simulation? For example a=15 and y=15, all i get is a:Real, and y:Real in the participant block.

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

      Turn on show ports in variables pane settings to show flow properties

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

    Something happened when you ignored the error on the IBD connector. It looked like the video cut out. I followed your exact instructions, but I did not get the same result. Should I not have ignored the error?

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

      Solved my problem. I was not showing ports in the simulation. But, now my question is how do I relate the flow properties on those ports to value (or part) properties in the block owning the interface?

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

    I am attempting to send a signal across a connector typed by an association block, utilizing the internal structure (flows, ports) of the association block, but it does not seem to work. Is this possible? Thanks for another great video.

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

      Thank you Katie for the feedback and question. It shall work same as with regular connector. Please note that proxy port does not handle signals it is just proxy to the system. So when you send signal to port it is received by system on another side of connector. Let us know if more help is needed. Sample model would help to understand problem. You can send to mbseexecution@3ds.com

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

      @@MBSEExecution What happens when I have a signal as the flow property on the IF and the signal has an attribute (s)? My question may the same as Katie's. The signal doesn't flow across.

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

      Hello Dez. Thank you for the feedback. Could you send sample to mbseexecution@gmail.com ?