Workshop: System modelling with PREEvision UML/SysML · Use Case Diagrams in PREEvision Use Case...

31
V1 | 2019-03-19 PREEvision User Day 2019, Stuttgart Workshop: System modelling with PREEvision – UML/SysML

Transcript of Workshop: System modelling with PREEvision UML/SysML · Use Case Diagrams in PREEvision Use Case...

V1 | 2019-03-19

PREEvision User Day 2019, Stuttgart

Workshop:System modelling with PREEvision – UML/SysML

u SysML?

An example

Use Case Diagram Contents

Class Diagram Contents

State Machine Contents

Summary and Outlook

Agenda

2

System Modeling Language (Background)

SysML?

u In the beginning, there was the “Unified Modeling Language”, (“UML”) specification

u Initially developed and published by the Object Management Group (“OMG®”)

u Covers two high-level modelling categories:> Behavioural modelling

> Structural modelling

u Focusses on standardising methods for software design> Provides 14 diagrams in total

u The Model Driven Systems Design work group withinINCOSE decided to customise the UML for system design

u This work was carried out with the OMG and the ISO AP233 WG

u The resulting Systems Modeling Language (“SysML®”)

u Covers behavioural modelling and structural modelling needs

u Is based on OMG UML 2> Provides 9 diagrams in total

u Has a latest ‘release’ of Version 1.5 (May 2017)

u Has a “Version 2” in development…

3

What diagrams are there?

SysML?

PREEvision inbuilt logical and physical

layer modelling

u The PREEvision meta-model provides predefined ‘blocks’

u This removes the need to derive a modelling profile

u No more stereotypes!

4

SysML?

u An example

Use Case Diagram Contents

Class Diagram Contents

State Machine Contents

Summary and Outlook

Agenda

5

The PREEvision User Day

An example

Workshop PREEvision UserDay 20196

What are the roles in my system? (UML/SysML: “Actors”)

An example

7

What are the roles in my system? (UML/SysML: “Actors”)

An example

8

What are the roles in my system? (UML/SysML: “Actors”)

An example

9

What functions does the system provide? (UML/SysML: “Use Case Diagram”)

An example

10

What functions does the system provide? (UML/SysML: “Use Case Diagram”)

An example

11

What functions does the system provide? (UML/SysML: “Use Case Diagram”)

An example

12

Where am *I*? What are my use cases?

An example

I am here!

13

Focus: “Deliver Technical Presentations”? (UML/SysML to PREEvision, e.g. SOA)

An example

14

A possible way to realise the “PresentationDelivery” interface?

An example

15

A deeper look at the implementation (UML: “Class Diagram”)

An example

16

Putting all the pieces (so far) together

An example

17

Detail: “PresentationDelivery” >> State Machine

An example

18

SysML?

An example

u Use Case Diagram Contents

Class Diagram Contents

State Machine Contents

Summary and Outlook

Agenda

19

Use Case Diagrams in PREEvision

Use Case Diagram Contents

u Use case diagrams are behavior diagrams and follow the Unified Modeling Language (UML) 2.0 specification.

u Available elements are:

u Use cases

u Use case systems

u Actors

u Include and Extend relations

u Extension Points

u Generalizations

u Features

u Use Case Diagrams can be created under any artifact in the Product Goals layer.

u Fulfillment association between Requirements / Customer Features and Use Cases

20

SysML?

An example

Use Case Diagram Contents

u Class Diagram Contents

State Machine Contents

Summary and Outlook

Agenda

21

u Availability of Class Diagrams in PREEvision

u UML like class diagrams

u Located in the Software Architecture layer

u Main concepts of the UML class diagramsare supported and available

Class Diagrams in PREEvision

Class Diagram Contents

22

Class Diagram

Class Diagram Contents

Class

Interface Class

Abstract Class

Association

Package

Method

Property

GeneralizationComposition

Realization

Dependency

23

SysML?

An example

Use Case Diagram Contents

Class Diagram Contents

u State Machine Contents

Summary and Outlook

Agenda

24

u For the following artifacts in PREEvision it will be possible to createONE state machine per artifact as child:

u Logical Architecture> All LA-Block Types

u Software Architecture> SW-Composition Type

> All SW-Component Types

> Service

> Use Case System

> Class

u Hardware Architecture> All EE-Components

> Hardware Device Type

> Hardware Module

> All Process Units and CPUs

> All Memory Modules

State machine parents

State Machine Contents

25

Supported State Machine Concepts (1/2)

State Machine Contents

Start Node Final

Node

Simple State with:

entry / Activitydo / Activityexit / Activity

Transition with:

Trigger [Condition] / Activity

Composite State

26

Supported State Machine Concepts (2/2)

State Machine Contents

Choice Node

Junction Node

OrthogonalState

DeepHistory

27

SysML?

An example

Use Case Diagram Contents

Class Diagram Contents

State Machine Contents

u Summary and Outlook

Agenda

28

Diagrams

Summary and Outlook

PREEvision inbuilt logical and physical

layer modelling

TBA 9.0 8.5TBA

TBA

7.5

TBA = To Be Announced

9.0

ClassDiagram

29

OMG: SysML

u Generic: Any technical system

u Supports MBSE

u Language to describe> Any Systems

> Definition of any individual block possible

> UML 2 Profile Modelling Language

u Diagram> Generic Diagrams (block: logical and physical)

PREEvision: EEA (V9.0)

u Specific: Distributed embedded systems

u Supports MBSE

u Language to describe> Distributed embedded systems

> With 4.400 classes, 11.200 attributesand more than 2.500 relation types for CF, REQ, LA, ASR-SW, NET, COM, WH and Safety

> MOF modelling language (meta model)

u Diagram> Abstraction layers with specific diagrams

> Many SysML concepts supported

u Tool Support> Multiuser collaboration

> Product line/reuse support/variants

> Versioning/Branches

> CHM, TDM, lifecycles

> …

Benefits of PREEvision versus SysML

Summary and Outlook

30

© 2019. Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector. V1 | 2019-03-19

Author:Nico Adler,Tobias Bitzer,Iain CunninghamVector Germany

For more information about Vectorand our products please visit

www.vector.com