SysML Plugin TWRT Documentation
On this page
Three validation rules complement each other to check whether the structure model is compatible with the behavior model. If any inconsistencies are found, the structure model can be automatically synchronized with the behavior model using solvers. First, you need to synchronize interfaces so that you can handle Connectors and, finally, Item Flows. As a consequence, the manual work is reduced.
Tip
You can handle detected inconsistencies using solvers directly in:
The first validation rule checks whether Proxy Ports and Interface Blocks are compatible with flows that flow between the two different Part Properties in Activities. The missing Proxy Ports and Interface Blocks can be handled automatically using solvers.
To create missing Proxy Ports and Interface Blocks
A Proxy Port typed by a compatible Interface Block is created.
If you select the Choose Compatible Interface Block solver, the Choose Proxy Port with Compatible Interface Block dialog opens.
You can now choose a Proxy Port and type it with an Interface Block that has Flow Properties compatible with the type and direction of the missing flow.
Alternatively, you can create a new Proxy Port and an Interface Block to type the Proxy Port. For this, select <NEW>.
The second validation rule checks whether there is a Connector between the two compatible Proxy Ports owned by the Part Property. The missing Connectors can be handled automatically using solvers.
To create missing Connectors
A Connector between the two compatible Proxy Ports is created.
The third validation rule checks realized Item Flows in Activities and helps to ensure the correct Item Flows are realized on Connectors that connect Proxy Ports typed by compatible Interface Blocks. The missing Item Flows can be handled automatically using solvers.
To realize missing Item Flows on Connectors
A compatible Item Flow is realized on the selected Connector.
To learn more about the validated elements, in the smart manipulator toolbar of the Internal Block Diagram or Validation Results panel, select the Navigate To command to navigate to:
Elements are automatically selected on the diagram pane and in the Containment tree.