Question & Answer
Question
How do you use IBM Rational Rhapsody to model communication between the components of an AUTOSAR composition?
Cause
Modeling communication between components in an AUTOSAR model requires a specific structure.
Answer
Three step process:
- Define your top level composition
- Define Software Components (SWCs), interfaces, and ports
- Model the internal parts of your composition type
Step 1: Define your top level composition
- Create a Software Components Diagram
- Add your top level CompositionType component
- Add sender/receiver and/or client/server ports to your composition
- Add SenderReceiverInterfaces and/or ClientServerInterfaces to the diagram
- Add DataElementTypes (S/R interface) or OperationPrototypes (C/S interface) to your interface definitions
- Add portType dependencies from your composition’s ports to the interfaces
Result: You defined the type of your top level composition.
Step 2: Define Software Components (SWCs), interfaces, and ports
- Create a Software Components Diagram
- Add sender/receiver or/and client/server ports to the SWCs
- Add SenderReceiverInterfaces or/and ClientServerInterfaces to the diagram
- Add DataElementTypes (S/R interface) or OperationPrototypes (C/S interface) to your interface definitions
- Add portType dependencies from your SWCs' ports to the interfaces
Result: You defined the SWC types that your top level composition type should contain.
Step 3: Model the internal parts of your composition type
- Navigate to your composition in the browser
- Add new ComponentPrototype
- Double click the new ComponentPrototype and assign the SWC type that instance.
- Go back to your composition diagram modeled in step 1
- Drag and drop your ComponentPrototypes into your composition type
- Use AssemblyConnectorPrototypes and DelegationConnectorPrototypes to model the communication between the component prototypes and the composition
Result: You defined the structure of your composition and the communication between the parts.
[{"Product":{"code":"SSB2MU","label":"IBM Engineering Systems Design Rhapsody"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":"Documentation","Platform":[{"code":"PF033","label":"Windows"}],"Version":"7.5;7.6;8.0;8.1","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]
Product Synonym
Rational Rhapsody
Was this topic helpful?
Document Information
Modified date:
27 May 2022
UID
swg21429235