SysML Plugin TWRT Documentation
On this page
When describing your system structure, you should start by defining Blocks in a SysML Block Definition Diagram. Blocks represent the system hierarchy in terms of systems and subsystems. You can model either the logical or physical decomposition of a system, and the specification of software, hardware, or human elements.
The notation for a Block is a rectangle with the stereotype «block» preceding the name. Blocks are the elements of definition because they have a name only. The figure below illustrates the vehicle structure of defined Blocks in the SysML Block Definition Diagram. The figure is created from the VehicleStructure.mdzip sample model.
You can create Blocks in a SysML Block Definition Diagram in the following ways:
You can create all elements including Blocks in the Model Browser from the shortcut menu.
To create a Block in the Model Browser
You can create Blocks directly on the SysML Block Definition Diagram pane. The Blocks created on the diagram pane are created in the Model Browser, too.
To create a Block on the diagram pane
You can create Blocks by copying a listed text from other resources (e.g. Word, Excel, HTML, etc.) and pasting it either in the Containment tree or diagram pane.
Detailed procedures are provided in the Creating elements from other resources page.
You can represent any model components that are exported to Functional Mock-up Interface (FMI) standard (.fmu files) as Blocks in the SysML Block Definition Diagrams.
The SysML Plugin supports FMI 1.0 and 2.0 versions.
To represent an .fmu file as the Block
You can execute one fmu Block or co-simulate cooperated fmu Blocks using the Cameo Simulation Toolkit.
You can use an Association Block to show decomposition of the connector similar to the way that blocks show the decomposition of parts. You can create an Association Block or Association Block with Owned Ends between two Blocks in the SysML Block Definition Diagram. You can represent Association Block usages in the SysML Internal Block Diagrams by setting Association Block as Connector type.
To create an Association Block or Association Block with Owned Ends
Participant properties are created automatically after an Association Block is created between Blocks.
The following figure shows two Association Blocks: Water Delivery and Plumbing. The connection between the Spigot Bank Block and Faucet Blocks is decomposed into the Water Delivery Block by creating an Association Block. The suppliedByInLink and deliveredToInLink Participant Properties are created and shown in the compartment area. The same is shown with the Plumbling Association Block. The figure is created from the WaterSupply_19.0.mdzip sample model.
You can connect Blocks by using these main relationships:
Generalization
The Generalization relationship conveys an inheritance between Blocks. It is usually used to create a hierarchy in your system. The notation is a solid line with a hollow, triangular arrowhead on the end.
The figure below shows that the DC Power Supply, Inverted Pendulum System, and Computer Blocks are types of the AC Device Block. All of the subtypes (DC Power Supply, Inverted Pendulum System, and Computer) require all the characteristics of AC Device but add their own specialized characteristics as well. The figure is created from the InvertedPendulum.mdzip sample model.
Direct Composition or Composition
The Direct Composition or Composition relationships convey a structural decomposition of Blocks. The notation is a solid line between two Blocks with a solid diamond on the composite end.
The following figure shows that the Wheel is composed of Tire and Brake. The Composition can be represented in two different ways: by showing Composition relations between Blocks or by showing Part Properties on a decomposed Block compartment. The figure is created from the VehicleStructure.mdzip sample model.
Direct Association or Association
The Direct Association or Association conveys that a connection can exist between those Blocks. Those Blocks can access each other for some purpose across the connection. The Direct Association notation is a solid line with an arrowhead on the end, while the Association notation consists only of a solid line.
The figure below illustrates the Association between the Wheel and WirelessTirePressureMonitor Blocks. The name of the Association is BandMount, which describes the type of connection that could exist between the wheel and wireless tire pressure monitor. The Association can be represented in two different ways: by showing the Association relation between Blocks or by showing the Reference Property on a decomposed Block compartment. The figure is created from the hybrid sport utility vehicle.mdzip sample model.
For how to create, remove, change a style, route, create a line jump, insert a shape on a path, or manage path compartments, read the Working with paths and relationships page.