Topic
  • 9 replies
  • Latest Post - ‏2017-09-13T14:59:01Z by pathfinder_hartmut
rdwelling
rdwelling
8 Posts

Pinned topic Nested SysML Proxy Ports

‏2013-12-17T19:53:58Z | ports proxy sysml

How does one represent nested proxy ports in RHP 8.0.5 for SysML? I've read the two help features but they are not very helpful.

(See attached file.) I have a proxy port p1 typed by Interface Block I1 on a block. Then I created proxy port p2 typed by I2 on the Interface Block I1. In an ibd I show the owning block with port p1:I1 on its boundary. Since the Interface Block apparently can't live on the block boundary, I thought I could drag I1 to the diagram and link p1 and p2 to establish the nesting but get only "Can't create link" messages. I then dragged port p1 to the diagram where it displayed port p2 on its boundary (as it is typed by I1). I was able to link the p1:I1 and p2:I2 but the connector ends show as both being p1. This feature appears clunky and is puzzling.

 

Attachments

Updated on 2013-12-17T20:09:12Z at 2013-12-17T20:09:12Z by rdwelling
  • AE91_SHINJI_KANAI
    AE91_SHINJI_KANAI
    199 Posts
    ACCEPTED ANSWER

    Re: Nested SysML Proxy Ports

    ‏2013-12-21T12:07:40Z  
    • rdwelling
    • ‏2013-12-19T14:57:30Z

    Try these.

    Hello,

    Instead of dropping I1 (InterfaceBlock) into IDB, I created a part having <port>:I1 on its boundary and link to p1:I1 as seen attached image, it looks like working for me (see Nested_ProxyPort.png). As additional information, Rhapsody doesn't support Nested Port Notation as defined
    in SysML v1.3 specification (link to related RFE) as of today, and multiplicity on Proxy Port (connecting more than on internal parts to a proxy) doesn't seem to me working in Code Generation. Perhaps, my design/setting is incorrect. Please correct me if I'm missing something here, thank you. 

    Best Regards,

    --Shinji

     

    Attachments

  • AE91_SHINJI_KANAI
    AE91_SHINJI_KANAI
    199 Posts

    Re: Nested SysML Proxy Ports

    ‏2013-12-19T01:44:11Z  

    Hi rdwelling,

    Please upload the image again, I find it's corrupted. Thank you.

    --Shinji

  • rdwelling
    rdwelling
    8 Posts

    Re: Nested SysML Proxy Ports

    ‏2013-12-19T14:57:30Z  

    Hi rdwelling,

    Please upload the image again, I find it's corrupted. Thank you.

    --Shinji

    Try these.

  • AE91_SHINJI_KANAI
    AE91_SHINJI_KANAI
    199 Posts

    Re: Nested SysML Proxy Ports

    ‏2013-12-21T12:07:40Z  
    • rdwelling
    • ‏2013-12-19T14:57:30Z

    Try these.

    Hello,

    Instead of dropping I1 (InterfaceBlock) into IDB, I created a part having <port>:I1 on its boundary and link to p1:I1 as seen attached image, it looks like working for me (see Nested_ProxyPort.png). As additional information, Rhapsody doesn't support Nested Port Notation as defined
    in SysML v1.3 specification (link to related RFE) as of today, and multiplicity on Proxy Port (connecting more than on internal parts to a proxy) doesn't seem to me working in Code Generation. Perhaps, my design/setting is incorrect. Please correct me if I'm missing something here, thank you. 

    Best Regards,

    --Shinji

     

    Attachments

  • rdwelling
    rdwelling
    8 Posts

    Re: Nested SysML Proxy Ports

    ‏2013-12-21T22:32:58Z  

    Hello,

    Instead of dropping I1 (InterfaceBlock) into IDB, I created a part having <port>:I1 on its boundary and link to p1:I1 as seen attached image, it looks like working for me (see Nested_ProxyPort.png). As additional information, Rhapsody doesn't support Nested Port Notation as defined
    in SysML v1.3 specification (link to related RFE) as of today, and multiplicity on Proxy Port (connecting more than on internal parts to a proxy) doesn't seem to me working in Code Generation. Perhaps, my design/setting is incorrect. Please correct me if I'm missing something here, thank you. 

    Best Regards,

    --Shinji

     

    Thank you, Shinji.

    This clarifies Rhapsody's nested port capability, which was my actual question. We'll continue to use work-arounds.

    Dick

  • AE91_SHINJI_KANAI
    AE91_SHINJI_KANAI
    199 Posts

    Re: Nested SysML Proxy Ports

    ‏2015-07-20T04:52:27Z  

    Rhapsody v8.1.3 now support Nested Ports notation only (no code generation, etc). The notation can be applied only for SysML Full Port & Proxy Port. See the attached image.
     

    Attachments

  • ultimatejoker
    ultimatejoker
    16 Posts

    Re: Nested SysML Proxy Ports

    ‏2015-07-21T08:44:51Z  

    Rhapsody v8.1.3 now support Nested Ports notation only (no code generation, etc). The notation can be applied only for SysML Full Port & Proxy Port. See the attached image.
     

    Instructions for using nested ports:

    https://www-01.ibm.com/support/knowledgecenter/SSB2MU_8.1.3/com.ibm.rhp.sysml.doc/topics/rhp_t_using_nested_ports.html

  • Sascha165
    Sascha165
    16 Posts

    Re: Nested SysML Proxy Ports

    ‏2015-07-24T07:45:56Z  

    Rhapsody v8.1.3 now support Nested Ports notation only (no code generation, etc). The notation can be applied only for SysML Full Port & Proxy Port. See the attached image.
     

    Hello,

    Here a hint about it:

    For proxy ports the Ports menue with the helper to "Allow Nesting" is only visible if an InterfaceBlock has been assigned to the proxyport. A newly created proxyport with a StubInterface block will not allow you to do so.

    For flow ports ths restriction does not apply as you are forced to define a type during creation.

    Regards,

    Sascha

  • rich1000
    rich1000
    1 Post

    Re: Nested SysML Proxy Ports

    ‏2017-09-06T13:42:06Z  

    Hello:

    I am having a difficult time understanding how to model nested proxy ports with Rhap v8.1.5 or v8.2 to get arrows in consistent direction and the SysML Profile's "Create/Update Direction Flows" script to create the flows on connectors.

    Created sample IBDs to illustrate. See attached images.
    - Objects for block_26 and block_27 of parts of block_25. block_25 is part of block_28.
    - IB_1 has flow property has attribute "A" in out direction
    - IB_2 has flow property attribute "B" in out direction
    - IB_3 has proxy ports with IB_1, and IB_2.

    I have two problems
    1) Unable to get arrows to point in consistent direction on both views (block_25 internal and external on block_28's IBD). Tried many combinations of conjugating ports.
    2) Running SysML's "Create/Update Direction Flows" do not create flows on diagram.

    Any help would be appreciated. thanks in advance.

    Updated on 2017-09-06T14:52:31Z at 2017-09-06T14:52:31Z by rich1000
  • pathfinder_hartmut
    pathfinder_hartmut
    62 Posts

    Re: Nested SysML Proxy Ports

    ‏2017-09-13T14:59:01Z  

    Hello rich1000,

    I can't answer your question, but I'd suggest to open a new thread for your question, since many users won't look into an old answered thread form 2015 to find your new -not too closely related question- here.

    Best regards, Hartmut