SysML instance vs. class

Viewed 1518

I'm a bit confused about the concept of blocks in SysML.

From UML I understand that there is a distinction between classes and instances/objects like in OOP.

However, I'm not sure how this is implemented in SysML. My questions:

  • Does SysML distinguish between classes and instances?

  • Assume I want to describe a general type of sub-system e.g. a card reader. My system should include serval instances of indentical (or parameterized) card readers. How do I best model this in SysML.

  • Currently, I'm testing the SW Enterprise Architect. Is there anything special I have to consider if I want to model classes/instances here?

Thank you for your hints.

2 Answers

In SysML you have blocks ~ classes, and parts ~ attributes, where the SysML best practice does not aggregate blocks to blocks, i.e. when you describe subsystems you would display them as parts (instances of other blocks) of the main block.

Related