Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • 1a: Drag and drop a single SysML requirement to a folder. This should generate a requirement model file with a requirement set with a single requirement. The Simulink requirement set should have the same name and be connected to the nearest package of the SysML requirement. Each SysML requirement should be connected to each Simulink requirement.

  • 1b: Drag and drop a single SysML requirement with multiple levels of nested requirements to a folder. This should generate a requirement model file with a requirement set with a single requirement that then has all the multi-level nested requirements. The Simulink requirement set should have the same name and be connected to the nearest package of the SysML requirement. Each SysML requirement should be connected to each Simulink requirement.

  • 1c (Multiple DnD): Drag and drop multiple SysML requirements and drop them to a folder. This is an extension of the first two scenarios. A single requirement model with a single requirement set should be created. Now, the user may select SysML requirements from multiple packages. This is odd but you can take the nearest package of the first SysML requirement to derive the name of the Simulink requirement set.

  • 1d: Drag and drop a SysML package and drop it to a folder. This will collect all the “immediate requirements” in the folder and do the same as S1c. The SysML package should be linked to the resulting requirement set. Note the package may have other elements too but we just collect the immediate requirements

...

This exercise assumes the student has

  • Rhapsody 8.4 is installed correctly on his or her machine with a valid license for use.

  • Syndeia 3.3 is installed as a plugin for Rhapsody 8.4 with a valid license for use.

  • Syndeia Simulink interface, correctly installed with a valid license for use.

  • MATLAB/Simulink R2019b or later installed correctly on his or her machine with a valid license for use.

  • In this tutorial, we will use the Rhapsody SysML model available as Syndeia_Simulink_Examples_Rhapsody.zip (Get it here -SysML Models, Profiles and Mappings.)

1a. Drag and drop a single SysML requirement to a folder in Simulink.

The steps are for this exercise are as follows.

...

4 Open in Simulink, the requirement Payload Mass and the two nested requirements can now be seen in Simulink, as shown below.

...

1c (Multiple DnD): Drag and drop multiple SysML requirements and drop them to a folder

The steps for this exercise are as follows.

...