Organize the requirements and test cases for the “HSUV” with a requirement diagram. The diagram you create in this tutorial is the same as “Acceleration Requirement Refinement and Verification” in the sample project file included with the installer.

SysML requirement diagram example: Acceleration Requirement Refinement and Verification
section divider

Add a Requirement Diagram

If you are starting the tutorial from this page, download Astah SysML and the sample file, which contains all the diagrams from the previous chapters.

  1. Create an “HSUVRequirements” package in the Structure Tree.
  2. Select [Create Diagram] – [Requirement Diagram] from the pop-up menu of the package. A blank requirement diagram opens in the Diagram Editor.
section divider

Requirements and TestCases

You create requirements and test cases the same way as blocks: click the tool button, then click where you want to place the element.

Requirement diagram tool palette in Astah SysML

You can also create requirements by double-clicking on the diagram, or by copying text and pasting it into the requirement diagram.

section divider

UseCase

You cannot create new use cases or blocks in a requirement diagram, but you can place existing ones by dragging them from the Structure Tree.

  1. Drag the “Accelerate” use case onto the requirement diagram.
  2. Do the same for the “PowerSubsystem” block.
section divider

Connecting Relationships between objects

Let’s connect the “Power” and “Acceleration” requirements with a derive relationship. Click [DeriveReqt] on the tool palette, then click the “Power” requirement and the “Acceleration” requirement, in that order.

DeriveReqt relationship tool button

Create the other “Satisfy”, “Verify” and “Refine” relationships in the same way.

Satisfy, Verify and Refine relationship tool buttons

You can download the file that contains this requirement diagram.