Adding Containers to Configuration Elements

A container is a logical unit within the data model that groups together a set of configuration parameters. Containers are used to structure configuration data hierarchically and can:

  • Hold parameters relevant to specific functions or modules.

  • Include sub containers for organizing complex configurations.

Containers simplify configuration management by bundling related settings and providing a clear, organized structure for software configuration.

Where Can I Find Containers?

Containers are part of the AUTOSAR meta-model. These containers can be viewed by expanding the module and its containers to reveal any sub-containers.

How to Add a Container?

  1. Right-click on a module or an existing container where you want to create a sub-container. The context menu will open.

  2. In the context menu, choose [ Create Sub Container ]. A list of possible container types will appear.

  3. Select the desired type from the list to create the container.

  4. The new container will be added in alphabetical order within your data model.

Why Duplicate a Container?

Duplicating a container helps you save time and maintain consistency when working with complex configurations. Common reasons include:

  • Reuse Configuration: Quickly create multiple containers with similar settings.

  • Ensure Consistency: Start with identical parameter values to reduce errors.

  • Preserve Hierarchy: Duplicate complex structures with sub containers without rebuilding them.

  • Meet AUTOSAR Requirements: Some ECUC modules require multiple instances of the same container type.

How to duplicate a Container?

  1. Right-click on an existing container. The context menu will open.

  2. In the context menu, choose [ Duplicate…​ ]. The duplicate editor will open.

  3. Enter a value between 1 and 1000 to define how many duplicates should be created.

  4. The duplicated container(s) will be added in alphabetical order within your data model.

How to Remove a Container?

To delete an existing container:

  1. Right-click on the container. The context menu will open.

  2. In the context menu, choose [ Delete ]. The selected container will be removed from the data model.

Alternatively: You can also delete a container by pressing Delete after selecting it.

Derived containers cannot be deleted in the Basic Editor.