Book a Demo

Author Topic: SysML Delegation Through Ports  (Read 3612 times)

pilakkat

  • EA Novice
  • *
  • Posts: 1
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
SysML Delegation Through Ports
« on: June 03, 2007, 07:13:36 am »
Hi

I am trying to model a system using EA 6.2.802 and SysML Add-in. Need to model a composite block with sub-blocks. The blocks have a few different flows which terminates on different sub-blocks. I.e I need ibd with multiple flowports with each connected to different internal blocks.

How do I do this, i.e. delegate internal flowports to the enclosing block.


          ------------------------------------------------
          | ibd xxx                      |
          -------------------------------/
          |               ------------------
          |               |                 |
         | |<->| |                |
          |               |                 |
          |               |                 |
          |               -------------------
          |
          |
          ----------------------------------------------



Somewhat similar to that shown in ASCII fig above

regards
Santhosh

jmhansford

  • EA Novice
  • *
  • Posts: 1
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Re: SysML Delegation Through Ports
« Reply #1 on: September 27, 2007, 04:23:10 am »
Hi,

I am trying to do the same thing as the posting author. As there is no response I was wondering if it is possible to do this with EA?

Thanks in Advance,

Jonathan

Dave.B

  • EA User
  • **
  • Posts: 94
  • Karma: +0/-0
    • View Profile
Re: SysML Delegation Through Ports
« Reply #2 on: April 02, 2008, 09:53:58 pm »
I have just spent a few hours trying to figure this one out. I have a partial solution, but it is not as good as it could be.

This relates to EA 7.1.827.

I have found that I can turn a block into a composite block with the "make composite" command on the "advanced" pop-up menu. This creates a SysML Internal Block Diagram (IBD) onto which more blocks can be added. However, if there is a port associated with the composite block, this port needs to appear on the IBD as a relay port so that it can be routed to an internal block. So far, the only way that I have found to be able to do this is to add the containing composite block on to its own IDB and add the port to it. In order to make the resulting IBD have the correct visual "nested" semantic, the composite block has to enlarged so that the internal blocks can be placed inside of it.

However, EA does not understand that the internal blocks have to bounded by the composite block for the semantics to be correctly shown. E.g. the "layout diagram" menu option will separate the blocks into their own space on the IBD and thus remove the visual concept of nesting (or composition).

In fact, it would be much better to be able to simply drag blocks onto a block to be able to create composite and then to optionally hide the embedded blocks as an encapsulation that is described on an IBD. UML classes should also have this capability.

Hope this helps
Regards
Dave B.