SysML Plugin TWRT Documentation
The SysML active validation suites enable you to see if a model is correct and complete immediately. It instantly displays any errors in the model and suggests appropriate solutions. The active validation suites have «activeValidationSuite» stereotype applied.
Each profile contains its own active validation suites. You can create your own validation suites.
You can meet the following active validation suites in the Validation dialog or Validation Suites dialog:
You can find active validation suites in the Containment tree when the Show Auxiliary Resources option is enabled, expand the MD Customization for SysML Package> SysML constraints Package > SysML activeValSuite package. The SysML activeValSuite Package is divided into separate Packages and contain an appropriate validation rules.
To show the auxiliary resources
To manually validate project with active validation suites, you can select the specific Active ValSuite (mentioned above) as the Validation Suite in the Validation dialog. How to start the validation >>
Active validation automatically runs in the background according to the selected active validation mode.
To select the active validation mode
System - enables validation suites that are critical to the model. For example, all projects have the UML Standard Profile, which has the Composition Integrity system validation suite. This suite contains validation rules allowing for detecting shared project usage, recovered element, or illegal reference related problems.
Info
You can check these rules under the Auxiliary Resources > UML Standard Profile > Validation Profile > Composition Integrity.
To show the auxiliary resources
You can control how often, in seconds, a modeling tool will analyze the rules to be executed and how often the modeling tool will execute these rules. After opening a project, all required validation rules will be executed, including system or all (user and system), and next time these rules will be checked only after the specified period.
To specify the active validation period
Type its value in seconds.
Specify a higher time period to ensure better performance of the application.
Click OK.
The specified period is used for all projects, not just the current project.
You can customize the Active Validation options in the Project Options dialog.
To open the Active Validation options
Optimizing performance
Set the Validate Only Visible Diagrams option value to true. This limits a validation scope to visible diagrams only.
Set the Exclude Elements from Used Read-Only Project option value to true to reduce the number of elements to check in your model.
Set the Exclude elements from additional content option value to true to ignore the content of Smart packages while running the passive validation in the Validation (Analyze > Validation > Validate) dialog.
Smart package content (separate elements) will be validated only if Smart package is set directly as a scope of the active validation.
If smart package is set indirectly for the validation scope, modeling tool will automatically exclude it from the active validation scope, because elements in the smart package are owned by other elements.
To turn off the parameters synchronization
Related pages