Description
Interfaces define the connections and relationships between ports, specifying how system components interact and communicate with each other. In SysML v2, interfaces represent the contracts for interactions between components, defining sets of operations, signals, and flows that components provide or require for proper system integration. Interfaces model the communication paths between systems by linking their ports together, indicating that components are connected and can exchange information, energy, or materials. Multiple ports can be connected through a single interface, creating complex interaction networks that represent how the system’s internal architecture enables its functionality. Interfaces ensure compatibility and interoperability between components by defining what each component expects from the others and what it provides in return.Working with Linkages
Interfaces are often realized through physical linkages (cables, wires, hoses, etc.). The relationship between interfaces and linkages:- Interface: Defines the logical connection between any port and what flows between ports
- Linkage: Represents the physical cable, wire, or conduit that implements the interface
View Types
| View | Description |
|---|---|
| Properties | Edit the object’s properties, attributes, and metadata. |
| Table | Display the object and its children in a tabular format. |
| Block | Visual block diagram showing parts and connections. |
| Relationships | Explore the network of connections to other objects. |
| History | Track changes and revisions to the object. |
Properties Fields
Name of the object.
Short name of the object.
Description of the object.
Array of port UUIDs that are connected by this interface.This field lists all the ports that participate in this interface connection. Ports from different parts can be connected through a single interface, establishing communication paths between components.Example:
An interface connecting a sensor to a processor would list both the sensor’s output port and the processor’s input port.
Array of connection topology definitions specifying how ports are interconnected.The topology field defines the specific connection patterns between ports in the interface. Each topology entry is an array of port UUIDs that form a connection group.Structure:Each group connects to the other based on the order of the groups. For simple linear chains, as is most common, use single uuids in each group.
The topology field provides fine-grained control over how ports are interconnected, enabling complex connection patterns. They are critical to specify how data flows and to render diagrams properly.
A list of all Relationships this object has with other model objects.Read more about Relationships