Skip to content

Commit c6d89e7

Browse files
authored
Merge pull request #54 from qorix-group/vohae_safety_analysis
process: improve process description safety analysis
2 parents 3197c2d + 63480a5 commit c6d89e7

28 files changed

+1147
-1713
lines changed

process/folder_templates/features/feature_name/index.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -190,3 +190,4 @@ Footnotes
190190
safety_planning/index.rst
191191
safety_analysis/fmea.rst
192192
safety_analysis/dfa.rst
193+
safety_analysis/platform_dfa.rst

process/folder_templates/features/feature_name/safety_analysis/dfa.rst

Lines changed: 18 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@
1313
# *******************************************************************************
1414
1515

16-
Dependent Failure Analysis
17-
==========================
16+
DFA (Dependent Failure Analysis)
17+
================================
1818

1919
.. document:: [Your Feature Name] DFA
2020
:id: doc__feature_name_dfa
@@ -23,6 +23,8 @@ Dependent Failure Analysis
2323
:realizes: wp__feature_dfa
2424
:tags: template
2525

26+
.. note:: Use the content of the document to describe e.g. why a fault model is not applicable for the diagram.
27+
2628
.. attention::
2729
The above directive must be updated according to your Feature.
2830

@@ -31,23 +33,25 @@ Dependent Failure Analysis
3133
- Adjust ``status`` to be ``valid``
3234
- Adjust ``safety`` and ``tags`` according to your needs
3335

34-
Dependent Failure Intitiators
35-
-----------------------------
36+
Dependent Failure Initiators
37+
----------------------------
3638

3739
.. code-block:: rst
3840
39-
.. feat_saf_dfa:: <Element descriptor>
40-
:id: feat_saf_DFA__<Feature>__<Element descriptor>
41-
:violation_id: <ID from Dependent Failure Initiators list :need:`gd_guidl__dfi`>
42-
:violation_effect: <Effect caused by the initiator (leading to a violation of a safety goal)>
43-
:verifies: <ID from Feature Architecture>
44-
:mitigated_by: < NONE|ID from Feature Requirement>
45-
:sufficient: <yes|no>
46-
:argument: <text to argument why measure is sufficient>
47-
:status: <valid|invalid>
41+
.. feat_saf_dfa:: <Title>
42+
:violates: <Feature architecture>
43+
:id: feat_saf_dfa__<Feature>__<Element descriptor>
44+
:failure_id: <ID from DFA failure initiators :need:`gd_guidl__dfa_failure_initiators`>
45+
:failure_effect: "description of failure effect of the failure initiator on the element"
46+
:mitigated_by: <ID from Feature Requirement | ID from AoU Feature Requirement>
47+
:mitigation_issue: <ID from Issue Tracker>
48+
:sufficient: <yes|no>
49+
:status: <valid|invalid>
50+
51+
.. note:: argument is inside the 'content'. Therefore content is mandatory
4852
4953
.. attention::
5054
The above directive must be updated according to your feature DFA.
5155

52-
- Remove the ``code-block``
56+
- The above "code-block" directive must be updated
5357
- Fill in all the needed information in the <brackets>

process/folder_templates/features/feature_name/safety_analysis/fmea.rst

Lines changed: 18 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -13,16 +13,18 @@
1313
# *******************************************************************************
1414
1515

16-
Safety Analysis : FMEA
17-
======================
16+
FMEA (Failure Modes and Effects Analysis)
17+
=========================================
1818

1919
.. document:: [Your Feature Name] FMEA
2020
:id: doc__feature_name_fmea
2121
:status: draft
2222
:safety: ASIL_B
23-
:realizes: wp__feature_safety_analysis
23+
:realizes: wp__feature_fmea
2424
:tags: template
2525

26+
.. note:: Use the content of the document to describe e.g. why a fault model is not applicable for the diagram.
27+
2628
.. attention::
2729
The above directive must be updated according to your Feature.
2830

@@ -36,18 +38,21 @@ Failure Mode List
3638

3739
.. code-block:: rst
3840
39-
.. feat_saf_fmea:: <Element descriptor>
40-
:id: feat_saf_FMEA__<Feature>__<Element descriptor>
41-
:failure_mode: <ID from fault model :need:`gd_guidl__fault_models`>
42-
:failure_effect: <Effect caused by the failure (leading to a violation of a safety goal)>
43-
:verifies: <ID from Feature Architecture>
44-
:mitigated_by: < NONE|ID from Feature Requirement>
45-
:sufficient: <yes|no>
46-
:argument: <text to argument why measure is sufficient>
47-
:status: <valid|invalid>
41+
42+
.. feat_saf_fmea:: <Title>
43+
:violates: <Feature architecture>
44+
:id: feat_saf_fmea__<Feature>__<Element descriptor>
45+
:fault_id: <ID from fault model :need:`gd_guidl__fault_models`>
46+
:failure_effect: "description of failure effect of the fault model on the element"
47+
:mitigated_by: <ID from Feature Requirement | ID from AoU Feature Requirement>
48+
:mitigation_issue: <ID from Issue Tracker>
49+
:sufficient: <yes|no>
50+
:status: <valid|invalid>
51+
52+
.. note:: argument is inside the 'content'. Therefore content is mandatory
4853
4954
.. attention::
5055
The above directive must be updated according to your feature FMEA.
5156

52-
- Remove the ``code-block``
57+
- The above "code-block" directive must be updated
5358
- Fill in all the needed information in the <brackets>
Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
..
2+
# *******************************************************************************
3+
# Copyright (c) 2025 Contributors to the Eclipse Foundation
4+
#
5+
# See the NOTICE file(s) distributed with this work for additional
6+
# information regarding copyright ownership.
7+
#
8+
# This program and the accompanying materials are made available under the
9+
# terms of the Apache License Version 2.0 which is available at
10+
# https://www.apache.org/licenses/LICENSE-2.0
11+
#
12+
# SPDX-License-Identifier: Apache-2.0
13+
# *******************************************************************************
14+
15+
16+
Platform DFA (Dependent Failure Analysis)
17+
=========================================
18+
19+
.. document:: Platform DFA
20+
:id: doc__platform_dfa
21+
:status: draft
22+
:safety: ASIL_B
23+
:realizes: wp__platform_dfa
24+
:tags: template
25+
26+
.. note:: The platform DFA is only performed once at platform level to analyse the dependencies between the features of the platform.
27+
The results shall be used as an input for the safety analysis so that general safety mechanisms are only defined once and not in every single safety analysis.
28+
29+
.. note:: Use the content of the document to describe e.g. why a fault model is not applicable for the diagram.
30+
31+
.. attention::
32+
The above directive must be updated according to your Feature.
33+
34+
- Modify ``Your Feature Name`` to be your Feature Name
35+
- Modify ``id`` to be your Feature Name in upper snake case preceded by ``doc__`` and succeeded by ``_dfa``
36+
- Adjust ``status`` to be ``valid``
37+
- Adjust ``safety`` and ``tags`` according to your needs
38+
39+
Dependent Failure Initiators
40+
----------------------------
41+
42+
.. code-block:: rst
43+
44+
.. plat_saf_dfa:: <Title>
45+
:violates: <Feature architecture>
46+
:id: plat_saf_DFA__<Feature>__<Element descriptor>
47+
:failure_id: <ID from DFA failure initiators :need:`gd_guidl__dfa_failure_initiators`>
48+
:failure_effect: "description of failure effect of the failure initiator on the element"
49+
:mitigated_by: <ID from Feature Requirement | ID from AoU Feature Requirement>
50+
:mitigation_issue: <ID from Issue Tracker>
51+
:sufficient: <yes|no>
52+
:status: <valid|invalid>
53+
.. note:: argument is inside the 'content'. Therefore content is mandatory
54+
55+
.. attention::
56+
The above directive must be updated according to the platform DFA.
57+
58+
- The above "code-block" directive must be updated
59+
- Fill in all the needed information in the <brackets>

process/folder_templates/features/feature_name/safety_planning/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ Feature Safety Planning
7070
- :need:`doc__feature_name_architecture`
7171
- doc :ndf:`copy('status', need_id='doc__feature_name_architecture')` & WP below
7272

73-
* - :need:`wp__feature_safety_analysis`
73+
* - :need:`wp__feature_fmea`
7474
- <link to process>
7575
- <automated>
7676
- <link to issue>

process/folder_templates/modules/module_name/component_name/docs/safety_analysis/dfa.rst

Lines changed: 18 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@
1313
# *******************************************************************************
1414
1515

16-
Dependent Failure Analysis
17-
==========================
16+
DFA (Dependent Failure Analysis)
17+
================================
1818

1919
.. document:: [Your Component Name] DFA
2020
:id: doc__component_name_dfa
@@ -23,6 +23,8 @@ Dependent Failure Analysis
2323
:realizes: wp__sw_component_dfa
2424
:tags: template
2525

26+
.. note:: Use the content of the document to describe e.g. why a fault model is not applicable for the diagram.
27+
2628
.. attention::
2729
The above directive must be updated according to your Component.
2830

@@ -31,23 +33,25 @@ Dependent Failure Analysis
3133
- Adjust ``status`` to be ``valid``
3234
- Adjust ``safety`` and ``tags`` according to your needs
3335

34-
Dependent Failure Intitiators
35-
-----------------------------
36+
Dependent Failure Initiators
37+
----------------------------
3638

3739
.. code-block:: rst
3840
39-
.. comp_saf_dfa:: <Element descriptor>
40-
:id: comp_saf_DFA__<Component>__<Element descriptor>
41-
:violation_id: <ID from Dependent Failure Initiators list :need:`gd_guidl__dfi`>
42-
:violation_effect: <Effect caused by the initiator (leading to a violation of a safety goal)>
43-
:verifies: <ID from Component Architecture>
44-
:mitigated_by: < NONE|ID from Component Requirement>
45-
:sufficient: <yes|no>
46-
:argument: <text to argument why measure is sufficient>
47-
:status: <valid|invalid>
41+
.. comp_saf_dfa:: <Title>
42+
:violates: <Component architecture>
43+
:id: comp_saf_dfa__<Component>__<Element descriptor>
44+
:failure_id: <ID from DFA failure initiators :need:`gd_guidl__dfa_failure_initiators`>
45+
:failure_effect: "description of failure effect of the failure initiator on the element"
46+
:mitigated_by: <ID from Component Requirement | ID from AoU Component Requirement>
47+
:mitigation_issue: <ID from Issue Tracker>
48+
:sufficient: <yes|no>
49+
:status: <valid|invalid>
50+
51+
.. note:: argument is inside the 'content'. Therefore content is mandatory
4852

4953
.. attention::
5054
The above directive must be updated according to your component DFA.
5155

52-
- Remove the ``code-block``
56+
- The above "code-block" directive must be updated
5357
- Fill in all the needed information in the <brackets>

process/folder_templates/modules/module_name/component_name/docs/safety_analysis/fmea.rst

Lines changed: 17 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -13,16 +13,18 @@
1313
# *******************************************************************************
1414
1515

16-
Safety Analysis : FMEA
17-
======================
16+
FMEA (Failure Modes and Effects Analysis)
17+
=========================================
1818

1919
.. document:: [Your Component Name] FMEA
2020
:id: doc__component_name_fmea
2121
:status: draft
2222
:safety: ASIL_B
23-
:realizes: wp__sw_component_safety_analysis
23+
:realizes: wp__sw_component_fmea
2424
:tags: template
2525

26+
.. note:: Use the content of the document to describe e.g. why a fault model is not applicable for the diagram.
27+
2628
.. attention::
2729
The above directive must be updated according to your Component.
2830

@@ -36,18 +38,20 @@ Failure Mode List
3638

3739
.. code-block:: rst
3840
39-
.. comp_saf_fmea:: <Element descriptor>
40-
:id: comp_saf_FMEA__<Component>__<Element descriptor>
41-
:failure_mode: <ID from fault model :need:`gd_guidl__fault_models`>
42-
:failure_effect: <Effect caused by the failure (leading to a violation of a safety goal)>
43-
:verifies: <ID from Component Architecture>
44-
:mitigated_by: < NONE|ID from Component Requirement>
45-
:sufficient: <yes|no>
46-
:argument: <text to argument why measure is sufficient>
47-
:status: <valid|invalid>
41+
.. comp_saf_fmea:: <Title>
42+
:violates: <Component architecture>
43+
:id: comp_saf_fmea__<Component>__<Element descriptor>
44+
:fault_id: <ID from fault model :need:`gd_guidl__fault_models`>
45+
:failure_effect: "description of failure effect of the fault model on the element"
46+
:mitigated_by: <ID from Component Requirement | ID from AoU Component Requirement>
47+
:mitigation_issue: <ID from Issue Tracker>
48+
:sufficient: <yes|no>
49+
:status: <valid|invalid>
50+
51+
.. note:: argument is inside the 'content'. Therefore content is mandatory
4852

4953
.. attention::
5054
The above directive must be updated according to your component FMEA.
5155

52-
- Remove the ``code-block``
56+
- The above "code-block" directive must be updated
5357
- Fill in all the needed information in the <brackets>

process/folder_templates/modules/module_name/docs/safety_mgt/module_safety_plan.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ Component <name> Work products List
197197
- Checklist used in Pull Request Review
198198
- n/a
199199

200-
* - :need:`wp__sw_component_safety_analysis`
200+
* - :need:`wp__sw_component_fmea`
201201
- <Link to process>
202202
- <automated>
203203
- <Link to issue>
@@ -281,7 +281,7 @@ If the OSS element is classified as a
281281
- <Link to issue>
282282
- <Reasoning for tailoring, needed for example in case of deficits in process Id 3&4 and complexity Ids 1&4>
283283

284-
* - :need:`wp__sw_component_safety_analysis`
284+
* - :need:`wp__sw_component_fmea`
285285
- <Link to issue>
286286
- <Reasoning for tailoring, could help arguing too high cyclomatic complexity covered by safety mechanisms>
287287

0 commit comments

Comments
 (0)