From the course: Systems Engineering with SysML
Unlock this course with a free trial
Join today to access over 24,700 courses taught by industry experts.
Namespaces and packages
From the course: Systems Engineering with SysML
Namespaces and packages
- [Instructor] Namespace is a kind of element that can contain other elements and provide names for them. Continuing with the example of an oven, let us say there is an extra rack that may be inserted into the oven if need be, but is otherwise kept in oven's storage drawer at the bottom to create more space. So we define a part, drawer, that has a part, extra rack, which is defined by rack, but the definition of rack is owned by oven. So to refer to rack, we will need to use its fully qualified name as oven, followed by two colons, and then rack. In graphics, the extra rack is connected to drawer through composite usage, that is black diamond notation. While this example demonstrates nested part definitions, for example, the part definition of rack nested inside the part definition for oven, often, parts are independently defined with their usages nested in other part definitions. When usages are used in a definition, they are referred to as features. Let us take this example where we…