8.3 Encapsulating Constraints in Constraint Blocks to Enable Reuse

SysML also includes a constraint block that extends the generic constraint concept. A constraint block encapsulates a constraint to enable it to be defined once and then used in different contexts, similar to the way parts represent usages of blocks in different contexts. The equivalent concept to the part is called a constraint property.

The constraint expression of a constraint block can be any mathematical expression and may have an explicit dependency on time, such as a time derivative in a differential equation. In addition to the constraint expression, a constraint block defines a set of constraint parameters—a special kind of property used in the constraint expression. ...

Get A Practical Guide to SysML, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.