Discover DoDAF problems early in the lifecycle with model execution

34
© 2016 IBM Corporation Discover DoDAF problems early in the life cycle with model execution Graham Bleakley PhD. Solution Architect, Unleash the Labs Aerospace,Defence and Automotive [email protected]

Transcript of Discover DoDAF problems early in the lifecycle with model execution

Page 1: Discover DoDAF problems early in the lifecycle with model execution

© 2016 IBM Corporation

Discover DoDAF problems early in the life cycle with model executionGraham Bleakley PhD.Solution Architect, Unleash the Labs Aerospace,Defence and [email protected]

Page 2: Discover DoDAF problems early in the lifecycle with model execution

© 2016 IBM Corporation2

Contents Introduction to Continuous Engineering Applying Continuous Engineering to Architecture development and SoS

modeling Executable Modeling in DoDAF (Rhapsody)

Activity Diagrams Statecharts

The CE infrastructure and how it supports large Architectures and SoS modeling Managing requirements (DNG, Design Manager) Understanding the impact of change (RELM)

Impact Analysis Views Task planning and change management (RTC)

Page 3: Discover DoDAF problems early in the lifecycle with model execution

© 2016 IBM Corporation3

Continuous engineering is about game-changing capabilitiesContinuous engineering is an enterprise capability that speeds delivery of

increasingly sophisticated and connected products by helping businesses to evolve their engineering practices to adapt to the

accelerating pace of business change.

Page 4: Discover DoDAF problems early in the lifecycle with model execution

© 2016 IBM Corporation4

Unified Profile for DoDAF and MODAF Not a new framework but an Implementation of a UML/SysML based profile that

brings together DoDAF, MODAF and NAF to help interoperability UPDM is a standardized means of

Capturing the operational aspects and specification of Systems of Systems, and Systems as it is based upon SysML

Understanding how the development of these resources map to capabilities and acquisition programs

IBM is a founding and leading member of the UPDM group at the OMG

Page 5: Discover DoDAF problems early in the lifecycle with model execution

© 2016 IBM Corporation5

Quality managementAnalysis, design and prototyping Requirements management

Workflow, Planning, Task & Change Management

Improving the quality of architectures using Continuous Engineering

Engineering context

MarketAnalytics

System Verificationand Validation

SystemTest

SystemRequirements

SystemDesign

Deployment/Release to Mfg.

CustomerRequirements

Operations and Maintenance

Implementation

Decomposition

and Definition Inte

grat

ion

and

Valid

atio

n

Agile SoftwareEngineering

Electrical/Electronics

Design

MechanicalDesign

Iterative

Page 6: Discover DoDAF problems early in the lifecycle with model execution

© 2016 IBM Corporation6

Systems of Systems (SoS) architecture and Continuous Engineering Developing systems of systems implies an integrated approach to

requirements, architecture, test and change management OSLC

SoS architectures should be tested and validated as it improves architecture quality Test interface requirements Understand functional behavioural requirements Evaluate non functional requirements

DODAF 2 implemented in the IBM Continuous engineering platform DNG/DOORS requirements management Rhapsody Design Manager for executability Rational Team Concert for Process Planning and Change Management Rational Quality Manager for test RELM for trace and impact analysis

Page 7: Discover DoDAF problems early in the lifecycle with model execution

© 2016 IBM Corporation7

Developing Executable architectures using DoDAF 2 DoDAF 2.0 profile in Rhapsody

Based upon OMG UPDM 2.1 Specification Based upon SysML

Provides capabilities for creating executable models Activity diagram execution Statemachine execution

Evaluation of non-functional requirements using Parametric analysis

Ease of developing consistent interfaces Modified SE toolkit allows it to work with DoDAF and MODAF

UPDM Profiles

Page 8: Discover DoDAF problems early in the lifecycle with model execution

© 2016 IBM Corporation8

Activity diagram execution Based on Token Flow Semantics (petri nets)

For a token to be generated from an action there must be a token on each input edge.

If you are in the Check Water Tank action what will happen in the next simulation step if water OK is true ?

Page 9: Discover DoDAF problems early in the lifecycle with model execution

© 2016 IBM Corporation9

Question

If you are in the Check Water Tank action what will happen in the next simulation step if water OK is true ?

Alert User-> Check Water

Boil Water

Stay in Check Water Tank

Page 10: Discover DoDAF problems early in the lifecycle with model execution

© 2016 IBM Corporation10

Activity diagram execution Based on Token Flow Semantics (petri nets)

✔✗It will seize at the Check Water Tank

For a token to be generated from an action there must be a token on each input edge

Page 11: Discover DoDAF problems early in the lifecycle with model execution

© 2016 IBM Corporation11

Operational Activities/Functions Operational Activities/Functions are Activities in their own right

They can be reused An OV-5b or SV-4 uses references to OperationalActivities or Functions

Create calls to these elements on the OV-5 or SV-4 Use the Create Activities From Actions Automatically creates the underlying OperationalActivity or Function

Page 12: Discover DoDAF problems early in the lifecycle with model execution

© 2016 IBM Corporation12

Model Structure is Important !! IT IS MORE IMPORTANT FOR EXECUTABLE MODELING

Activities and activity diagrams need an owner that can be made executable In Operational Views it is a Logical Architecture or Performer In System Views it is a PhysicalArchitecture or System

This is the root of the scope of the execution The diagram can have swimlanes or not

Page 13: Discover DoDAF problems early in the lifecycle with model execution

© 2016 IBM Corporation13

Executing the Activity diagram (1) The activity diagram is executed by right

clicking and selecting simulation Automatically does a number of

checks and generates the underlying code

Correct the errors !! Spaces in the name of the call

behavior or action Missing Else Statements on decision

nodes Incorrect use of merge nodes Non-mutually exclusive decision

nodes

Page 14: Discover DoDAF problems early in the lifecycle with model execution

© 2016 IBM Corporation14

Executing the Activity diagram (2) Use the animation

toolbar to run the simulation

Do not use “Go” or “Go idle”

DO USE “Go Step” You will see tokens

flowing You will start to

understand the simulation

You can use activity diagrams to represent the behavior for each architectural element

Page 15: Discover DoDAF problems early in the lifecycle with model execution

© 2016 IBM Corporation15

Statechart Execution If you can build executable models in Rhapsody you can build them in

DODAF 2.0 STRUCTURE THE MODELS CORRECTLY

Build a block hierarchical version of your architecture Build a structural version of your architecture

Defining consistent interfaces Use the activity diagram to define sequences Use the SE-Toolkit create ports and interfaces to create a consistent set of

Ports and interfaces Modified SE-Toolkit hep file Located on the Rational Solutions Process Assets web page http://www-01.ibm.com/support/docview.wss?uid=swg24030663

Create statemachines for each “Part” taking a role in the simulation Possible to test them separately using the rapid simulation Helps identify semantic incorrectness

Page 16: Discover DoDAF problems early in the lifecycle with model execution

© 2016 IBM Corporation16

Structuring the models Create an block

hierarchical version of the architecture (a BDD) Creating the

composition relationship creates Parts

The Parts are of the correct type

Create a structural version of this diagram( an IBD) Make sure it has an

owning instance

Page 17: Discover DoDAF problems early in the lifecycle with model execution

© 2016 IBM Corporation17

Define Consistent Interfaces Use a White Box Activity Diagram to derive scenarios Add the SE toolkit profile and apply the HarmonySE

stereotype Set a package to store interfaces using the ”InterfacePkg”

dependency Apply the SE Toolkit “create ports and interfaces” to the

seqeunce Modification of the SE-Toolkit HEP file Link structural elements together with the appropriate

connectors OV-2 = Needline SV-1 = ResourceInterface

Page 18: Discover DoDAF problems early in the lifecycle with model execution

© 2016 IBM Corporation18

Creating the component and simulating (1) Create a component in

the SysML part of the model Beneath the DoDAF

2 Architecture structure

Make sure it is correctly scoped Include all the parts

and elements typing the parts

Make sure animation is enabled

Use Generate Make Run to generate

Page 19: Discover DoDAF problems early in the lifecycle with model execution

© 2016 IBM Corporation19

Creating the component and simulating (2) Correct ALL

Spelling mistakes (most likely cause of issues)

Syntax Assignment If then else Case statements Non mutally exclusive

decision nodes Run the simulation

Initialize with Go-Step then use Go Idle, More controllable than

activity diagrams Validate behavior by generating

sequence diagrams

Page 20: Discover DoDAF problems early in the lifecycle with model execution

© 2016 IBM Corporation20

Parametric Execution Rhapsody 8.1.3 added the ability to build Parametric diagrams into UPDM

- Provides the ability to carry out evaluation of non-functional requirements Basic usage is with Matlab and Maxima More advanced forms with other third part products

- Model Center, phoenix integration

Page 21: Discover DoDAF problems early in the lifecycle with model execution

© 2016 IBM Corporation21

Quality managementAnalysis, design and prototyping Requirements management

Workflow, Planning, Task & Change Management

Improving the quality of architectures using Continuous Engineering

Engineering context

MarketAnalytics

System Verificationand Validation

SystemTest

SystemRequirements

SystemDesign

Deployment/Release to Mfg.

CustomerRequirements

Operations and Maintenance

Implementation

Decomposition

and Definition Inte

grat

ion

and

Valid

atio

n

Agile SoftwareEngineering

Electrical/Electronics

Design

MechanicalDesign

Iterative

Page 22: Discover DoDAF problems early in the lifecycle with model execution

© 2016 IBM Corporation22

Continuous Engineering and SoS Architecture development:-the bigger picture

Need to understand What is driving the architecture development Managing change Understand internal model relationships

UPDM is on Design Manager Link to requirements in DNG/DOORS Link to Workitems in RTC Manage Process in RTC using DODAF process template Impact analysis in RELM

Page 23: Discover DoDAF problems early in the lifecycle with model execution

© 2016 IBM Corporation23

Working with tools Set up a Lifecycle project

links DNG, DM, RTC together

Create and add a RELM project to the lifecycle project

Created some high level vision requirements in DNG Create a collection

Page 24: Discover DoDAF problems early in the lifecycle with model execution

© 2016 IBM Corporation24

Rhapsody and DNG Opened the collection in Rhapsody Design Manager

Create OSLC Satisfactions and refines from RDM to DNG requirements Linked to capabilities

Page 26: Discover DoDAF problems early in the lifecycle with model execution

© 2016 IBM Corporation26

Use Filters and Profiles Traverse controls the level of upstream and

downstream connections Filters allow you to select a set of elements to

appear on a diagram Filters can be applied to Profiles

Page 27: Discover DoDAF problems early in the lifecycle with model execution

© 2016 IBM Corporation27

Views in RELM Artifact containers make it easy to create complex views on the information in the

architecture Dynamically Populate based upon UC selection Can be applied to UPDM

Needs some customisation as native UPDM elements not exposed in RELM currently

Page 28: Discover DoDAF problems early in the lifecycle with model execution

© 2016 IBM Corporation28

Governed by RTC RTC provides the task planning and

Change Management DODAF process template Process guidance from RMC

Linked to work items Intend to update to include details of

“how” Workitems linked to changesets in DM

Page 29: Discover DoDAF problems early in the lifecycle with model execution

© 2016 IBM Corporation29

Benefits of the IBM CE platform when applied to DoDAF 2 Provides a means to develop consistent and high quality DoDAF 2

architectures based upon simulation in Rhapsody Design Manager Improves the quality of those architectures by

- Simulating to understand behavior, define interfaces, validate interfaces, develop test patterns for implements

- Using executable parametrics to evaluate potential implementation solutions Process governance and architecture development is improved by

developing architectures in a controlled way, using- DNG or DOORS to manage requirements that can be linked directly to the

architecture elements- Managing the test patterns for SoS verification using Rational Quality Manager- Managing the process of developing DoDAF 2 architectures through the use of

Rational Team Concert- Managing collaborative develop through the use of Design Manager- Understanding the impact of change through the use of Design Manager

and/or RELM

Page 30: Discover DoDAF problems early in the lifecycle with model execution

© 2016 IBM Corporation30

© Copyright IBM Corporation 2016 All rights reserved. The information contained in these materials is provided for informational purposes only, and is provided AS IS without warranty of any kind, express or implied. IBM shall not be responsible for any damages arising out of the use of, or otherwise related to, these materials. Nothing contained in these materials is intended to, nor shall have the effect of, creating any warranties or representations from IBM or its suppliers or licensors, or altering the terms and conditions of the applicable license agreement governing the use of IBM software. References in these materials to IBM products, programs, or services do not imply that they will be available in all countries in which IBM operates. Product release dates and/or capabilities referenced in these materials may change at any time at IBM’s sole discretion based on market opportunities or other factors, and are not intended to be a commitment to future product or feature availability in any way. IBM, the IBM logo, Rational, the Rational logo, and other IBM products and services are trademarks of the International Business Machines Corporation, in the United States, other countries or both. Other company, product, or service names may be trademarks or service marks of others.

Also see:- http://www.slideshare.net/zarniwoop/a-pattern-based-approach-to-the-development-of-updm-architectures

Page 31: Discover DoDAF problems early in the lifecycle with model execution

© 2016 IBM Corporation31

Danse European project to evaluate the benefits of Executable Enterprise Architectures Used UPDM 2.0 as its framework for defining the architecture

- Integrating a variety of models from different tools- Based upon FMI integration

Page 32: Discover DoDAF problems early in the lifecycle with model execution

© 2016 IBM Corporation32

Benefits of Activity diagram simulation

Start to understand the overall flow of behavior across the architecture At Black Box level it helps with the overall

Mission planning Use case analysis

At White Box level it helps with Defining interfaces Understanding message flows and data between Performers

and/or Systems Approach is compatible with SysML Improves the quality of the architecture Helps with understanding the operational and systems

behaviour at an abstract level

Page 33: Discover DoDAF problems early in the lifecycle with model execution

© 2016 IBM Corporation33

Benefits of State Chart Execution Verifies Interface definitions between Performers/Systems

- Helps prove the interoperability of the performers/systems from a functional perspective• Performers/Systems can be captured as legacy parts of the architecture so the

behavior is AS-IS Provides an abstraction specification of the behavior of a Performer or

System- Important at the Performer level as it helps drive the operational behavior and

Standard operating procedures for new operational scenarios or capabilities- Important at the Systems level as it defines the specification and expected

behavior of the system or platform that needs to be developed Provides sets of sequence diagrams as patterns that the implementation

can be tested against Compliant with SysML so it is possible to trace back SysML models to the

DoDAF Systems level definition of the System being developed

Page 34: Discover DoDAF problems early in the lifecycle with model execution

© 2016 IBM Corporation34

Statechart ExecutionCreating an executable model

Create a component Make sure it is scoped correctly

Make sure the behavior is syntactically correct Generate Make Run (GMR) first checks check model correctness from

a syntactic perspective Use action language, this will help with

Spelling mistakes Incorrect Syntax

Drive the simulation from the simulation menu Bring up animated Sequence diagrams Bring up animated Statecharts