Model Based System Engineering -...

22
Model Based System Engineering with AMUSE and Enterprise Architect 7. November 2012 Roman Bretz & Oliver Alt

Transcript of Model Based System Engineering -...

Page 1: Model Based System Engineering - blog.lieberlieber.comblog.lieberlieber.com/wp-content/uploads/MDE-mit-UML-funktioniert.pdf · Model Based System Engineering with AMUSE and Enterprise

Model Based System Engineering with AMUSE and Enterprise Architect

7. November 2012

Roman Bretz & Oliver Alt

Page 2: Model Based System Engineering - blog.lieberlieber.comblog.lieberlieber.com/wp-content/uploads/MDE-mit-UML-funktioniert.pdf · Model Based System Engineering with AMUSE and Enterprise

LieberLieber in Brief

• Austrian Company

• Preferred Partner of Sparx Systems Central Europe

• 20 Engineers

• 3 Focus Areas

• Tools and services for MDE with EA

• Multitouch Solutions

• Services for Financial Sector

Page 3: Model Based System Engineering - blog.lieberlieber.comblog.lieberlieber.com/wp-content/uploads/MDE-mit-UML-funktioniert.pdf · Model Based System Engineering with AMUSE and Enterprise

Advanced Modeling

UML Simulation and Execution

• AMUSE, EnArSpy, EnArWeb, EnArXmi, …

• Validation Rules

• Extensions / Add-ins

• Code Generation Templates

• MDG Technologies / UML Profiles

• Legacy Import/Export

• Custom Reports

• Integration with other Tools

• Consulting / Training

Model Engineering with EA

Page 4: Model Based System Engineering - blog.lieberlieber.comblog.lieberlieber.com/wp-content/uploads/MDE-mit-UML-funktioniert.pdf · Model Based System Engineering with AMUSE and Enterprise

Enterprise Architect Visual Modeling Platform

• Multi-user Modeling-Platform supporting UML 2.4 & SysML 1.3 for: • Systems and Software Engineering

• Requirement Engineering

• Real-time and embedded development

• Business and IT development, etc.

• Full traceability from requirements to deployment

• Code engineering in over 10 languages

• Generation of documentation from the model

• Scalable, team-based repository

• Rich import/export capabilities: XMI, CSV, etc.

• Integration with Eclipse, Visual Studio, Doors, SVN, etc.

Page 5: Model Based System Engineering - blog.lieberlieber.comblog.lieberlieber.com/wp-content/uploads/MDE-mit-UML-funktioniert.pdf · Model Based System Engineering with AMUSE and Enterprise

Enterprise Architect Visual Modeling Platform UML 2.3 / SysML 1.2

Analysis & Requirements

Design

Implementation

Testing

Rollout

etc. Eclipse MS Visual Studio MS Office

Tracing, Documentation, Validation, Simulation, etc.

Projekt Management

DOORS XMI, csv

Enterprise Architect Visual Modeling Platform

Page 6: Model Based System Engineering - blog.lieberlieber.comblog.lieberlieber.com/wp-content/uploads/MDE-mit-UML-funktioniert.pdf · Model Based System Engineering with AMUSE and Enterprise

Worldwide

Peter Lieber

<< founder >>

Geoffrey Sparks

<< founder >>

Daniel Siegl

<< manager >>

Hans Bartmann

<< manager >>

How we work together

Partner Company

Australia

Partner Company

EA Extensions Customer Projects Consulting Wien

Central Europe

Sister Company

EA Development Sales

Resale Consulting Trainings Wien

Hans Bartmann

<< manager >>

Page 7: Model Based System Engineering - blog.lieberlieber.comblog.lieberlieber.com/wp-content/uploads/MDE-mit-UML-funktioniert.pdf · Model Based System Engineering with AMUSE and Enterprise

MBSE - Motivation

Dissertation von Sascha Kirstan, TU München „Kosten und Nutzen modellbasierter Entwicklung eingebetteter Softwaresysteme im Automobil”

Hypothese 1

Durch MBSE sind Zeiteinsparungen von mindestens 30 Prozent möglich.

Ergebnis: VOLL BESTÄTIGT

Page 8: Model Based System Engineering - blog.lieberlieber.comblog.lieberlieber.com/wp-content/uploads/MDE-mit-UML-funktioniert.pdf · Model Based System Engineering with AMUSE and Enterprise

What I can communicate ?

What is UML or SysML?

Just a Language !

Who I can communicate to ?

Useful for communication: • Humans to Human • or Human to Machine

Using language I can a. Communicate Concepts b. Specify Systems (reference-book) c. Develop executable Models

UNIFIED

MODELING

LANGUAGE ENGLISH

language

What is UML / SySML?

Page 9: Model Based System Engineering - blog.lieberlieber.comblog.lieberlieber.com/wp-content/uploads/MDE-mit-UML-funktioniert.pdf · Model Based System Engineering with AMUSE and Enterprise

Language:

• UML • SySML • C# • etc.

Tools: • EA • MS Office • Doors • etc.

Methodology:

• Harmony • FAS • EnArSys • etc.

Development Process:

• Agile • V-Process, etc. (Roles, milestones, artifacts)

• UML Profile • Model structure • Docu / Code Templates • Model • etc.

Tools, Processes, Methods …

Page 10: Model Based System Engineering - blog.lieberlieber.comblog.lieberlieber.com/wp-content/uploads/MDE-mit-UML-funktioniert.pdf · Model Based System Engineering with AMUSE and Enterprise

Intelligence of Engineering Where it is hidden?

Requirement A Requirement B

Requirement C

Department A

Department C

Department B

Page 11: Model Based System Engineering - blog.lieberlieber.comblog.lieberlieber.com/wp-content/uploads/MDE-mit-UML-funktioniert.pdf · Model Based System Engineering with AMUSE and Enterprise

Tools, Processes, Methods …

Page 12: Model Based System Engineering - blog.lieberlieber.comblog.lieberlieber.com/wp-content/uploads/MDE-mit-UML-funktioniert.pdf · Model Based System Engineering with AMUSE and Enterprise

Systems Engineering

Requirements

Behaviour

Architecture

Systems Engineering

• AMUSE Model Simulation & Code Generation

Page 13: Model Based System Engineering - blog.lieberlieber.comblog.lieberlieber.com/wp-content/uploads/MDE-mit-UML-funktioniert.pdf · Model Based System Engineering with AMUSE and Enterprise

• Assist in reaching better System Design

• Care of Model Correctness and Consistency

• Manage Complexity by Separation of

Functionality and technical Realization

• Improve Communication between Stakeholders

• Assist in correct Usage of UML/SysML

AMUSE Objectives

Page 14: Model Based System Engineering - blog.lieberlieber.comblog.lieberlieber.com/wp-content/uploads/MDE-mit-UML-funktioniert.pdf · Model Based System Engineering with AMUSE and Enterprise

Enterprise Architect at Glance

Your State Machine or Activity

UI Sketch using EA

Other class behaviors

Page 15: Model Based System Engineering - blog.lieberlieber.comblog.lieberlieber.com/wp-content/uploads/MDE-mit-UML-funktioniert.pdf · Model Based System Engineering with AMUSE and Enterprise

AMUSE - At a Glance Your State Machine

or Activity Other class behaviors

Generated GUI from UI Sketch

UML Debugging Instance-Values

Trace Viewer (filter, sorting, export) UML Debugging

Event Simulation

Page 16: Model Based System Engineering - blog.lieberlieber.comblog.lieberlieber.com/wp-content/uploads/MDE-mit-UML-funktioniert.pdf · Model Based System Engineering with AMUSE and Enterprise

Ab

str

ac

tio

n (

Gra

nu

lari

ty)

Level of Details

Conceptual

Model

Requirements

Code Generation

Mock Anforderer

Dev eloper

UserUser

Requirement

Engineer

System Engineer

AMUSE From Concept to Product

Page 17: Model Based System Engineering - blog.lieberlieber.comblog.lieberlieber.com/wp-content/uploads/MDE-mit-UML-funktioniert.pdf · Model Based System Engineering with AMUSE and Enterprise

Enterprise Architect

State Machine Behavior

Externe Libraries External Systems

Mo

de

l S

imu

lati

on

En

gin

e (

MS

E)

Existing Applications

API

Application

Interface

External Systems Interface

AMUSE

Mock-Object

Mock

Mock

Mock

Activity Behavior

Mock Objects and External Libraries

Page 18: Model Based System Engineering - blog.lieberlieber.comblog.lieberlieber.com/wp-content/uploads/MDE-mit-UML-funktioniert.pdf · Model Based System Engineering with AMUSE and Enterprise

What it is about – Behavior?

First Class

+ MyPublicAttribute

- MyPrivateOperation()

+ MyPublicOperation()

Behaviors

State Machines

Activities

Interactions

My StateMachine

My 1st Activity

int My Interaction

My 2nd Activity

First Class

+ MyPublicAttribute

- MyPrivateOperation()

+ MyPublicOperation()

Page 19: Model Based System Engineering - blog.lieberlieber.comblog.lieberlieber.com/wp-content/uploads/MDE-mit-UML-funktioniert.pdf · Model Based System Engineering with AMUSE and Enterprise

First Class

+ MyPublicAttribute

- MyPrivateOperation()

+ MyPublicOperation()

Behaviors

State Machines

Activities

Interactions

UML Communication Concept

Change Event

Call Event

My 1st ActivityMy 2nd Activity

int My Interaction

Second Class

«signal»

sigMySignal

Signal Event My StateMachine

5Time Event

Page 20: Model Based System Engineering - blog.lieberlieber.comblog.lieberlieber.com/wp-content/uploads/MDE-mit-UML-funktioniert.pdf · Model Based System Engineering with AMUSE and Enterprise

IsFinished

UML State Machine Concept

Initial

State1 State2

trgTimer_10

Final

trgMySignal

trgTimer_10

trgMySignal [false]

[true]

Signal Event

Time Event

Signal Event

State

PseudoState

Transition Guards

Trigger

/My 1st Activity + ontry / onEntry

My 2nd Activity

Action

Page 21: Model Based System Engineering - blog.lieberlieber.comblog.lieberlieber.com/wp-content/uploads/MDE-mit-UML-funktioniert.pdf · Model Based System Engineering with AMUSE and Enterprise

Embedded Engineering EA + AMUSE + Willert Tools

act From Model to Target and back

UML Target Debuuger Target Device

EA & AMUSE IDEActivityInitial

Create new Embedded

C EA Project

Create & Validate

Model

Generate and Deploy

Code

Create new IDE

Project

Add generated Code

and Framework Code

to IDE Project

Generated

Source Code

WST Framework

Source Code

Compile Code and

Deploy Code on Target

Binary Code

UML-Symbol

Information

IDE Debug Info

UML Debug Info

Execute Component

IDE Debug Info

UML Debug Info

Debug Info

Debug Component

Debug Info

UML Debug Info

Debug Binary Code

based on UML Model

UML Debug Info

UML Trace

Information

Offline UML-Model

Debug

LieberLieber Responsibil ity

Willert Responsibil ity

3'd Party Responsibil ity

Legend

Page 22: Model Based System Engineering - blog.lieberlieber.comblog.lieberlieber.com/wp-content/uploads/MDE-mit-UML-funktioniert.pdf · Model Based System Engineering with AMUSE and Enterprise

Danke!

Wir sehen uns bei unseren Stand