IBM Support

How to model communication between the components (ComponentPrototypes) of an AUTOSAR composition (CompositionType)

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:

  1. Define your top level composition
  2. Define Software Components (SWCs), interfaces, and ports
  3. Model the internal parts of your composition type



Step 1: Define your top level composition

  1. Create a Software Components Diagram

  2. Add your top level CompositionType component

  3. Add sender/receiver and/or client/server ports to your composition

  4. Add SenderReceiverInterfaces and/or ClientServerInterfaces to the diagram

  5. Add DataElementTypes (S/R interface) or OperationPrototypes (C/S interface) to your interface definitions

  6. 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

  1. Create a Software Components Diagram

  2. Add sender/receiver or/and client/server ports to the SWCs

  3. Add SenderReceiverInterfaces or/and ClientServerInterfaces to the diagram

  4. Add DataElementTypes (S/R interface) or OperationPrototypes (C/S interface) to your interface definitions

  5. 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

  1. Navigate to your composition in the browser

  2. Add new ComponentPrototype

  3. Double click the new ComponentPrototype and assign the SWC type that instance.

  4. Go back to your composition diagram modeled in step 1

  5. Drag and drop your ComponentPrototypes into your composition type

  6. 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

Document Information

Modified date:
27 May 2022

UID

swg21429235