You can use a Generic Safety Table to display all relevant elements depending on the selected scope as shown in the following figure. An element added as a scope element should extend the ISO 26262 library (e.g., Typical Automotive Situation, Accident Scenario, Hazardous Event, Automotive Effect).
An example of a Generic Safety Table
Creating a Generic Safety Table
You can create a Generic Safety Table as described below.
To create a Generic Safety Table
In the Containment tree, select the element that you want to be the owner of the table.
Do one of the following:
In the main menu, go to Diagrams > Create Diagram, then select Generic Safety Table in the open dialog.
In the Containment tree, right-click the owner of the table, select Create Diagram and select Generic Safety Table in the open dialog.
When the table is created, type the name of the table and press Enter.
Click next to the Element Type box.
In the Select Element Type dialog, select the types of elements you want to display in the table, and click OK.
Click next to the Scope box.
On the left side of the Select Scope dialog, select the scope element of the table, click to add the element to the selected elements area, and click OK.
There are two ways to create elements for a Generic Safety Table: you can do it right in the table or in the Containment tree. If you create an element in the Containment tree and it falls under the scope of a Generic Safety Table, the element is automatically added to the table. If you want to create an element right in a Generic Safety Table, follow the steps below.
To create an element in a Generic Safety Table
In a Generic Safety Table, select a table row.
Do one of the following:
In the table toolbar, click to create an element of the same level as the one you have selected.
In the table toolbar, click to create an element nested under the selected element.
Type the name of the new element and press Enter.
Case study: Creating Generic Safety Table for a custom element type
You can use a Generic Safety Table to display custom element types with their properties. Let's analyze the workflow of creating a custom Operational Situation and displaying it in a Generic Safety Table.
To create a custom Operational Situation and display it in a Generic Safety Table
In your model, create a Profile Diagram.
In the Profile Diagram, create a Class and name it, e.g., Crash Automotive Situation.
Apply the «OperationalSituation» stereotype to the Class.
In the ISO 26262 Library, find the TypicalAutomotiveSituation element and drag it to the Profile diagram.
Create a Generalization relationship from the Class created in step 2 to TypicalAutomotiveSituation. Your Profile Diagram should look as displayed below.
Save an reload the project.
In the Containment tree, right-click the element you want to be the owner of a Generic Safety Table, select Create Diagram, and select Generic Safety Table in the open dialog.
When the table is created, type the name of the table, e.g., Crash Operational Situations, and press Enter.
Click next to the Element Type box.
In the Select Element Type dialog, select OperationalSituation, and click OK.
Click next to the Scope box.
On the left side of the Select Scope dialog, select the scope element of the table, e.g., Crash Automotive Situation, click to add the element to the selected elements area, and click OK.
In the Generic Safety Table, create new elements of the custom element type defined as the table scope, e.g., Crash Automotive Situation.