Upload
asim-abdulkhaleq
View
450
Download
4
Embed Size (px)
Citation preview
Tutorial-2
Creating an STPA Project in XSTAMPP
Asim Abdulkhaleq
University of Stuttgart 2
Create a new Project
Create a new STPA project • To create a new STPA project, go to the File menu -> Create newproject Or click on the new button in the Tool bar • Then choose “STPA project” and click on “Next” button
University of Stuttgart 3
Create a new STPA project
Create a new STPA project • Edit the name of your project and select the location where
XSTAMPP will save it. • Select the type of your STPA project haz is compatible with the old
version of A-STPA. hazx is compatible for the current version of XSTAMPP.
Click on finish button to create a new project
University of Stuttgart 4
Create a new STPA project Create a new STPA project
• After editing the information and clicking on the “finish” button, a new project will appear in the project explorer with the three steps of STPA
Click here to expand the three steps of the STPA project
Each STPA project has three Steps:
Step 0: Editing fundamentals Step1: Unsafe control Actions.Step2: Causal Analysis
University of Stuttgart 5
Rename and Delete a project Rename and Delete a project.
• You can rename your project by right-clicking on the name ofyour project in the project explorer and select rename project.
• You can also delete your project by right-clicking on the name ofyour project in the project explorer and choose delete
University of Stuttgart 6
Editing Fundamentals
of STPA project
Editing Fundamentals of STPA Project
• You can edit the Fundamentals of your STPA project by a doubleclick on the name of the fundamentals view on the projectexplorer under the Establish fundamentals sub-tree.
• You can edit the fundamentals e.g. system description withdifferent languages
• You can change the font and color of the text
System Description View
University of Stuttgart 7
Editing Accidents List
of STPA project
Editing Accidents/Hazards-List
• You can edit the accidents of your STPA project by a double click onthe Accidents view under the Establish fundamentals sub-tree.
Edit new Accident Delete an Accident
Delete All Accidents
Reorder the Accidents
Edit here a long description of the accident
University of Stuttgart 8
Linking of Accidents &
Hazards
Linking of Accidents and Hazards
• You can link between the accident and hazards by double click onthe Linking of Accidents and Hazards view.
1. choose an accident
2. Select a hazard
3. You can add a hazard or All hazard
4. You can link hazards <> accidents or accidents <> hazards
University of Stuttgart 9
Editing Fundamentals
of STPA project
Editing Fundamentals of STPA Project
• You can change the font and color of the text of the systemdescription from the font toolbar in the top of the XSTAMPPworkbench.
• To change the font and color of the text, you have to select thetext and then click on a font button e.g. (the font size or fontname, etc.) on the font tool bar.
• The text and its font and color setting will be exported in the pdfas well.
Font and color tool bar
University of Stuttgart 10
Saving Your STPA project
Saving Your STPA project
• To save your project, click on the save button on the tool bar• Or choose File menu and click on save• You can also save your project with a different name by selecting
save as from the File menu.• You can also save all projects which you currently work on by
clicking on the “Save All” buttonSave and Save All buttons
University of Stuttgart 11
Exporting Your STPA
Project Exporting Your STPA Project
• You can export the data of your STPA project into different formatse.g. PDFs, Images and CSV Sheets individually by clicking on theExport wizard button.
• Or you can export all data of your STPA project in one step byclicking on the Export All button.
Export Wizard buttonExport All button
University of Stuttgart 12
Exporting Your STPA
Project Exporting Your STPA Project Individually
• You can export each kind of data of your project individually indifferent formats by a right-click on each view of your project andselecting Export
Select an exporting format in which you want to export the data:Sheets OR images or PDF
Then click on Next button to set the configuration
University of Stuttgart 13
Exporting Your STPA
Project Exporting Your STPA Data as an CVS Sheet
• You can export the data of your project as CVS sheet by a right-clicking on each view of your projects and selecting Export
• Then select the category STPA DATA Sheets and select yourSTPA data (e.g. accidents, or hazards) and click on the NextButton.
Choose the project name which you want to export its data
Choose one type of separators of CVS sheets
Set the destination path to export the data in.
University of Stuttgart 14
Exporting Your STPA
Project Exporting ALL Your STPA Data
• You can export all data of your project by clicking on the buttonRUN in the main tool bar.
• All data will be exported and the output folder will be automaticallyopened after finishing the export process.
Type the name of your company
Change the background and foreground color of the titlein the PDF
Check box if you want to export the control structure diagram with color
Change the orientations of PDF pages :Portrait OR Landscape
Set the logo image
Thank you!
e-mailphone +49 (0) 711 685-fax +49 (0) 711 685-
Universität Stuttgart
Asim Abdulkhaleq, Ph.D Candidate
88 45888 380
Institute of Software Technology, Software Engineering Group
The slides will be also available at the website www.xstampp.de