Book a Demo

Author Topic: SysML Association Blocks  (Read 5253 times)

Nick Tipper

  • EA Novice
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
SysML Association Blocks
« on: September 20, 2012, 05:37:05 pm »
Hi,

Can anybody please explain to me how to model SysML association blocks such as the Water Delivery association block in Figure 8.11 of OMG SysML v1.2

Thanks

Nick

philchudley

  • EA User
  • **
  • Posts: 750
  • Karma: +22/-0
  • EA Consultant / Trainer - Sparx Europe
    • View Profile
Re: SysML Association Blocks
« Reply #1 on: September 20, 2012, 08:30:10 pm »
Hi Nick

The closest I can get is

1) On a [highlight]SysML 1.2 Block Definition Diagram[/highlight] add the two Blocks [highlight]Spigot[/highlight] and [highlight]Faucet[/highlight]
2) Change the toolbox to [highlight]Class[/highlight]
3) From the [highlight]Class Relationships[/highlight] section of the Toolbox, select the [highlight]Association Class [/highlight]relationship
4) Starting at [highlight]Spigot[/highlight], drag this relationship to [highlight]Faucet[/highlight]
5) Enter [highlight]Water Delivery[/highlight] in the Class Properties dialog and type [highlight]block [/highlight]into the stereotype field

Unfortunately the isEncapsulated stereotype from SysML 1.2 is not added even if the stereotype is synchronized from the SysML 1.2 toolbox. This may of course not be a problem

Cheers

Phil
Models are great!
Correct models are even greater!

natvig

  • EA User
  • **
  • Posts: 65
  • Karma: +7/-0
  • I love YaBB 1G - SP1!
    • View Profile
Re: SysML Association Blocks
« Reply #2 on: September 20, 2012, 08:42:42 pm »
In a SysML bdd-diagram, right-click on a Block and choose Advanced | Association Class... In the dialog that pops up you can select which association in the diagram the Block will be linked to.
« Last Edit: September 20, 2012, 08:44:02 pm by natvig »

Nick Tipper

  • EA Novice
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
Re: SysML Association Blocks
« Reply #3 on: September 20, 2012, 09:18:55 pm »
nice one, thanks to you both.  I shall now persevere with trying to model my interfaces in a SysML 1.3 fashion

philchudley

  • EA User
  • **
  • Posts: 750
  • Karma: +22/-0
  • EA Consultant / Trainer - Sparx Europe
    • View Profile
Re: SysML Association Blocks
« Reply #4 on: September 20, 2012, 11:18:19 pm »
Thanks you learn something new about EA every day
Models are great!
Correct models are even greater!