35
INCOSE-SD MBSE Tutorial MBSE/SysML Tutorial Rick Hefner, Caltech, [email protected] NoMagic Tool Workshop Jason Wilson, No Magic, [email protected] June 2019 INCOSE-SD MBSE Tutorial 1

INCOSE-SD MBSE Tutorial · 2019-06-05 · INCOSE-SD MBSE Tutorial. MBSE/SysML Tutorial. Rick Hefner, Caltech, ... Model-Based Systems Engineering (MBSE) The formalized application

  • Upload
    others

  • View
    88

  • Download
    8

Embed Size (px)

Citation preview

INCOSE-SD MBSE Tutorial

MBSE/SysML TutorialRick Hefner, Caltech, [email protected]

NoMagic Tool WorkshopJason Wilson, No Magic, [email protected]

June 2019 INCOSE-SD MBSE Tutorial 1

Schedule

8:00 am Registration9:00 am MBSE10:15 am SysML Overview11:30 am MBSE Adoption12:00 am Lunch12:45 pm NoMagic Tool Workshop4:00 pm End

What do you hope to learn today?

June 2019 INCOSE-SD MBSE Tutorial 2

Model-Based Systems Engineering (MBSE)

MBSE PrinciplesSysML

SysML Diagrams

June 2019 INCOSE-SD MBSE Tutorial 3

Model-Based Systems Engineering (MBSE)

The formalized application of modeling to support system requirements, design, analysis, verification and validation activities beginning in the conceptual design phase and continuing throughout development and later life cycle phases.

- INCOSE SE Vision 2020 (INCOSE-TP-2004-004-02), Sept 2007

June 2019 INCOSE-SD MBSE Tutorial 4

System Engineering ProcessINCOSE SE Handbook - ISO/IEC/IEEE 15288:2015

AGREEMENT PROCESSES

Acquisition

ORGANIZATION PROJECT-ENABLING

PROCESSESLife Cycle ModelManagement

Infrastructure Management

Human ResourceManagement

Quality Management

Knowledge Management

TECHNICAL MANAGEMENT PROCESSESProject

Assessment and Control

Risk ManagementDecisionManagement

Configuration Management

Information Management Quality AssuranceMeasurement

TECHNICAL PROCESSES

Business orMission Analysis

StakeholderNeeds &

Requirements Definition

ArchitectureDefinition

System Requirements

Definition

Design Definition Implementation

Verification

Integration

Systems Analysis

DisposalTransition

Validation

MaintenanceOperation

Project Planning

Supply

June 2019 INCOSE-SD MBSE Tutorial 5

Key SE Representations and Their PurposeUnderstand the problem context

Mission statement

Table of stakeholders and their needs

Context diagram

System boundary diagramHome

HomeOwner Obstacles Robotic

Mower Environment ChargingStation

BoundaryWire

SafeguardingSystemTraction Path

PlanningLocalization

System MaintenanceSchedulingSystem

LocalArea DealersJohn

Deere RegulationCompetition WorkForce

Product System Boundary

Whole Product System Boundary

Use Context

Ensure requirements are clear, complete, consistent

ConOps/OpsCon(behavior diagrams)

Functional architecture

Design Structure Matrix (functional)

Evaluate potential designs

Structural architecture

Design Structure Matrix (structural)

Multi-Dimensional Matrix(functional vs. structural)

June 2019 INCOSE-SD MBSE Tutorial 6

Traditional Systems Engineering

Requirements Systems Architecture

Stakeholder Needs

ImplementationBusiness Analysis

Detailed Design Validation

Verification

June 2019 INCOSE-SD MBSE Tutorial 7

Model-Based Approach

Ref: Vitech

June 2019 INCOSE-SD MBSE Tutorial 8

MBSE Domains

Ref: Vitech

June 2019 INCOSE-SD MBSE Tutorial 9

MBSE Model Terminology

Ref: Fragment of the Object Management Group System Concept Model

June 2019 INCOSE-SD MBSE Tutorial 10

MBSE Activities

Ref: Vitech

June 2019 INCOSE-SD MBSE Tutorial 11

Systems Modeling Language (SysML)

• A general-purpose graphical modeling language for specifying, analyzing, designing, and verifying complex systems

• Provides graphical representations with a semantic foundation for modeling system requirements, behavior, structure, and parametrics

• Developed by the Object Management Group (OMG)

June 2019 INCOSE-SD MBSE Tutorial 12

Four Pillars of SysMLhttp://www.omgsysml.org

June 2019 INCOSE-SD MBSE Tutorial 13

m e n t s d o c u m e n t s d o c u m e n t s d o c u m e n t s d o c u m

e d b y v e r i f i e d b y v e r i f i e d b y v e r i f i e

D o c . 6

T r a n s p o r t a t i o nR e q u i r e m e n t s D o c

D o c u m e n t

4 . 2

c a t i o n st I n d e . . .

m e n t

c a t i o n st I n d e . . .

n R e q u . . .

T S R D C O . 4 . 4

C o m m u n i c a t i o n sE q u i p m e n t R e l i a b i . . .

R e q u i r e m e n t

C o m m u n i c a t i o n sE q u i p m e n t R e l i a b i . . .

V e r i f i c a t i o n R e q u . . .

T S R D F . 4 . 1 0

S p a c e f o r C o n s i s tA s s e m b ly

R e q u i r e m e n t

S p a c e f o r C o n s i s tA s s e m b ly

V e r i f i c a t i o n R e q u . . .

T S R D F . 4 . 1 1

T r a n s p o r t a t i o nP a c k a g e D e c o n . . .

R e q u i r e m e n t

T S R D F . 4 . 1

R o l l i n g S tD e c o n t a m

R e q u i r e m

R o l l i n g S tD e c o n t a m

V e r i f i c a t i o n

d o c u m e n t s d o c u m e n t s

b y r e f in e d b y r e f in e d b y r e f in e d b y r e f in e d b y

D o c . 1

W M SR e q u ir e m e n t s D . . .

D o c u m e n t

C R D . 7 . 3 . 2

C o m m a n d &C o n t r o l

R e q u ir e m e n t

T S R D . 4 . 1 3 5

T r u c k C o n s is tT r a s k in g

R e q u ir e m e n t

T S R D T . 4 . 1

R a il C o n s is tC o m m u n ic a t io n s

R e q u ir e m e n t

C R D . 7 . 3 . 3

T r a n s p o r t a t io nR a t e s

R e q u ir e m e n t

T S R D . 4 . 7

S p e c ia l W a s t eC o n t a in e r C a p a b i. . .

R e q u ir e m e n t

T S R D F . 4 . 8

S t o r a g e o fC o n t a in e r I n v e n . .

R e q u ir e m e n t

Multiple System Views to Communicate Requirements and Design

Views produced by CORE

b u i l t f r o m b u i l t f r

o m b u i l t f r o m b u i l t f r o m b u i l t f r o m b u i l t f r o m b u i l t f r

S y s . 1

T r a n s p o r t a t i o nS y s t e m

C o m p o n e n t

e r

n t

S y s . 1 . 4

C o n t a in e r s

C o m p o n e n t

S y s . 1 . 4 . 1

O u t e r S h e l l

C o m p o n e n t

S y s . 1 . 4 . 2

S t o r a g e C o n t a in e r

C o m p o n e n t

S y s . 1 . 4 . 3

T r a n s p o r t a t i o nS k id

C o m p o n e n t

S y s . 1 . 5

R a i l E q u ip m

C o m p o n e

S y s . 1 . 5 . 1

C o n t a in e r C a r

C o m p o n e n t

S y s . 1 . 5 . 2

C r e w C a r

C o m p o n e

Physical Hierarchy(System Structure)

Requirements Hierarchy(System Traceability)

Verification & Validation

AND

OA.1.1.1.1

Produce FDS

OA.1.1.1.2

Request Training(via Request

Field Services)

AND

OA.1.1.1.3

Review FDS

OA.1.1.10.1Receive and

Disposition WasteAcceptance

Requirements (u...

AND

OA.1.1.10.2Develop and

Disseminate SiteCampaign Plan

(using the Opera...

OA.1.1.10.3Develop andDisseminate

Annual ShipmentPlan

AND

FinalDelivery ...

FieldServices ...

FDS,Reviewed...

FDS,Finalized/...

SiteCampaign ...

AnnualShipment ...

Schedule

AND

OA.1.1.1.1

Produce FDS

OA.1.1.1.2

Request Training(via Request

Field Services)

AND

OA.1.1.1.3

Review FDS

OA.1.1.10.1Receive and

Disposition WasteAcceptance

Requirements (u...

AND

OA.1.1.10.2Develop and

Disseminate SiteCampaign Plan

(using the Opera...

OA.1.1.10.3Develop andDisseminate

Annual ShipmentPlan

AND

FinalDelivery ...

FieldServices ...

FDS,Reviewed...

FDS,Finalized/...

SiteCampaign ...

AnnualShipment ...

Schedule

Operations & Logical/Functional(System Behavior)

Ra il Consist - C2, Com m (Prim ary )

Truck Consist - C2,Track ing Data (Primary )

Comm ercia l Ra i l Ops Center -CRWMS/Transportation/C3

Rail Consist - C2, Track ing Data (Primary )

Comm ercia l Truck Ops Center -CRWMS/Transportation/C3

Truck Consist - C2, Com m (Prim ary )

Comm and & Control

Node

Ex.12.a

Comm ercia l Ra i lOperations Center

Externa l

Ex.14.a

Comm ercia l TruckOperations Center

Externa l

Ex.13

Rail Consist

Externa l

Ex.15

Truck Consist

Externa l

Physical Block Diagram (System Interconnection)

June 2019 INCOSE-SD MBSE Tutorial 14

AND

OA.1.1.1.1

Produce FDS

OA.1.1.1.2

Request Training(via Request

Field Services)

AND

OA.1.1.1.3

Review FDS

OA.1.1.10.1Receive and

Disposition WasteAcceptance

Requirements (u...

AND

OA.1.1.10.2Develop and

Disseminate SiteCampaign Plan

(using the Opera...

OA.1.1.10.3Develop andDisseminate

Annual ShipmentPlan

AND

FinalDelivery ...

FieldServices ...

FDS,Reviewed...

FDS,Finalized/...

SiteCampaign ...

AnnualShipment ...

Schedule

AND

OA.1.1.1.1

Produce FDS

OA.1.1.1.2

Request Training(via Request

Field Services)

AND

OA.1.1.1.3

Review FDS

OA.1.1.10.1Receive and

Disposition WasteAcceptance

Requirements (u...

AND

OA.1.1.10.2Develop and

Disseminate SiteCampaign Plan

(using the Opera...

OA.1.1.10.3Develop andDisseminate

Annual ShipmentPlan

AND

FinalDelivery ...

FieldServices ...

FDS,Reviewed...

FDS,Finalized/...

SiteCampaign ...

AnnualShipment ...

Schedule

m e n t s d o c u m e n t s d o c u m e n t s d o c u m e n t s d o c u m

e d b y v e r i f i e d b y v e r i f i e d b y v e r i f i e

D o c . 6

T r a n s p o r t a t i o nR e q u i r e m e n t s D o c

D o c u m e n t

4 . 2

c a t i o n st I n d e . . .

m e n t

c a t i o n st I n d e . . .

n R e q u . . .

T S R D C O . 4 . 4

C o m m u n i c a t i o n sE q u i p m e n t R e l i a b i . . .

R e q u i r e m e n t

C o m m u n i c a t i o n sE q u i p m e n t R e l i a b i . . .

V e r i f i c a t i o n R e q u . . .

T S R D F . 4 . 1 0

S p a c e f o r C o n s i s tA s s e m b ly

R e q u i r e m e n t

S p a c e f o r C o n s i s tA s s e m b ly

V e r i f i c a t i o n R e q u . . .

T S R D F . 4 . 1 1

T r a n s p o r t a t i o nP a c k a g e D e c o n . . .

R e q u i r e m e n t

T S R D F . 4 . 1

R o l l i n g S tD e c o n t a m

R e q u i r e m

R o l l i n g S tD e c o n t a m

V e r i f i c a t i o n

d o c u m e n t s d o c u m e n t s

b y r e f in e d b y r e f in e d b y r e f in e d b y r e f in e d b y

D o c . 1

W M SR e q u ir e m e n t s D . . .

D o c u m e n t

C R D . 7 . 3 . 2

C o m m a n d &C o n t r o l

R e q u ir e m e n t

T S R D . 4 . 1 3 5

T r u c k C o n s is tT r a s k in g

R e q u ir e m e n t

T S R D T . 4 . 1

R a il C o n s is tC o m m u n ic a t io n s

R e q u ir e m e n t

C R D . 7 . 3 . 3

T r a n s p o r t a t io nR a t e s

R e q u ir e m e n t

T S R D . 4 . 7

S p e c ia l W a s t eC o n t a in e r C a p a b i. . .

R e q u ir e m e n t

T S R D F . 4 . 8

S t o r a g e o fC o n t a in e r I n v e n . .

R e q u ir e m e n t

Integrated System Model

b u i l t f r o m b u i l t f r

o m b u i l t f r o m b u i l t f r o m b u i l t f r o m b u i l t f r o m b u i l t f r

S y s . 1

T r a n s p o r t a t i o nS y s t e m

C o m p o n e n t

e r

n t

S y s . 1 . 4

C o n t a in e r s

C o m p o n e n t

S y s . 1 . 4 . 1

O u t e r S h e l l

C o m p o n e n t

S y s . 1 . 4 . 2

S t o r a g e C o n t a in e r

C o m p o n e n t

S y s . 1 . 4 . 3

T r a n s p o r t a t i o nS k id

C o m p o n e n t

S y s . 1 . 5

R a i l E q u ip m

C o m p o n e

S y s . 1 . 5 . 1

C o n t a in e r C a r

C o m p o n e n t

S y s . 1 . 5 . 2

C r e w C a r

C o m p o n e

Ra il Consist - C2, Com m (Prim ary )

Truck Consist - C2,Track ing Data (Primary )

Comm ercia l Ra i l Ops Center -CRWMS/Transportation/C3

Rail Consist - C2, Track ing Data (Primary )

Comm ercia l Truck Ops Center -CRWMS/Transportation/C3

Truck Consist - C2, Com m (Prim ary )

Comm and & Control

Node

Ex.12.a

Comm ercia l Ra i lOperations Center

Externa l

Ex.14.a

Comm ercia l TruckOperations Center

Externa l

Ex.13

Rail Consist

Externa l

Ex.15

Truck Consist

Externa l

allocated to

functional I/O implemented by

trace to

verified by

June 2019 INCOSE-SD MBSE Tutorial 15

SysML Diagrams

Block Definition Diagram • Internal Block DiagramUse Case Diagram • Activity Diagram

Sequence Diagrams • State Machine Diagram Parametric Diagram • Package Diagram

Requirement Diagram • Allocations

All diagrams are from SysML Distilled by Lenny Delligatti

June 2019 INCOSE-SD MBSE Tutorial 16

SysML Diagram Taxonomy

June 2019 INCOSE-SD MBSE Tutorial 17

Block Definition DiagramUsed to display elements such as blocks and value types (elements that define the types of things that can exist in an operational system) and the relationships between those elements• Parts• References• Values• Constraints• Operations• Receptions• Standard ports (in SysML v1.2 and

earlier)• Flow ports (in SysML v1.2 and

earlier)• Full ports (in SysML v1.3)• Proxy ports (in SysML v1.3)• Flow properties (in SysML v1.3)• Structure

June 2019 INCOSE-SD MBSE Tutorial 18

Internal Block Diagram

Used to specify the internal structure of a single block• Shows the connections

between the internal parts of a block and the interfaces between them

• A BDD defines the block and its’s properties; the IBD displays a valid configuration of that block

June 2019 INCOSE-SD MBSE Tutorial 19

Use Case DiagramUsed to convey the scenarios a system performs and the actors that invoke and participate in them• A black-box view of the services that a system

performs in collaboration with its actors

Use case name: a verb phrase Scope: the entity that owns (provides)

the use case (for example, the name of an organization, system, subsystem, or component) Primary actor: the actor that invokes

the use case (the actor whose goal the use case represents) Supporting (secondary) actors: actors

that provide a service to the system (participate in the use case by performing actions) Stakeholder: someone or something

with a vested interest in the behavior of the system

Preconditions: the conditions that must be true for this use case to begin Guarantees (postconditions): the

conditions that must be true at the end of the use case Trigger: the event that gets the use

case started Main success scenario: the scenario

(the sequence of steps) in which nothing goes wrong Extensions (alternative branches):

alternative sequences of steps branching off of the main success scenario Related information: whatever your

project needs for additional information

June 2019 INCOSE-SD MBSE Tutorial 20

Activity Diagram

Used to specify a behavior, with a focus on the flow of control and the transformation of inputs into outputs through a sequence of actions• Commonly used as an

analysis tool to understand and express the desired behavior of a system

June 2019 INCOSE-SD MBSE Tutorial 21

Sequence DiagramUsed to specify a behavior, with a focus on how the parts of a block interact with one another via operation calls and asynchronous signals• Commonly used as a detailed

design tool to precisely specify a behavior as an input to the development stage of the life cycle

• An excellent mechanism for specifying test cases

• Allows the focus to be on how the parts of a block interact with one another via operation calls and asynchronous signals to produce an emergent behavior (interaction)

June 2019 INCOSE-SD MBSE Tutorial 22

State Machine Diagram

Used to specify a behavior, with a focus on the set of states of a block and the possible transitions between those states in response to event occurrences

June 2019 INCOSE-SD MBSE Tutorial 23

Parametric DiagramUsed to express how one or more constraints (specifically, equations and inequalities) are bound to the properties of a system• To specify assertions about

valid system values within an operational system (and therefore detect exceptional conditions when they occur)

• To use the blocks in your system model to provide the inputs for (and capture the outputs of) engineering analyses and simulations during the design stage

June 2019 INCOSE-SD MBSE Tutorial 24

Package DiagramUsed to display the way a model is organized in the form of a package containment hierarchy• May also show the

model elements that packages contain and the dependencies between packages and their contained model elements– Models– Model libraries– Profiles– Views

June 2019 INCOSE-SD MBSE Tutorial 25

Requirements DiagramUsed to display text-based requirements, the relationships between requirements, and the relationships between requirements and other model elements • Trace - A modification to the supplier

element (↑) may result in the need to modify the client element (tail end)

• Derive – Client requirement is derived from the supplier requirement

• Refine – Client element is more concrete (i.e., less abstract) than the supplier element

• Satisfy – Client requirement is fulfilled by the supplier element

• Verify – Client requirement is verified by the supplier test case

June 2019 INCOSE-SD MBSE Tutorial 26

Allocations: Cross-Cutting Relationships Between Model Elements

Behavioral (functional) allocation –Allocate a behavioral element to a structural element• Allocating an activity, an interaction, or

a state machine behavior to a block• Allocating an action (in an activity) to a

part property (owned by a block)

Structural allocation - Allocate a structural element to another structural element• Allocating a logical block to a physical

block• Allocating a software property to a

hardware property

Requirements allocation• Uses “satisfy” relationship in the

Requirements Diagram

June 2019 INCOSE-SD MBSE Tutorial 27

MBSE Adoption

June 2019 INCOSE-SD MBSE Tutorial 28

Introduction

• MBSE offers a powerful new tool for improving the quality and efficiency of product development

• Organizations must overcome significant barriers in adopting MBSE across their projects

• The presentation will highlight some of the key challenges and offer some solutions for overcoming them

June 2019 INCOSE-SD MBSE Tutorial 29

MBSE Challenges

• Justifying the Investment• Defining the Scope and Strategy• Developing the Proper Technical Skills• Developing the Proper Management Skills• Standardization and Reuse

June 2019 INCOSE-SD MBSE Tutorial 30

Justifying the InvestmentEnterprise-wide MBSE adoption requires substantial upfront investment and risk-taking• Investment is driven by the adoption strategy

and timeline• Great uncertainty in the estimation of costs

and return-on-investment• Unquantified pre-conditions and progress

measures• Few studies exist showing clear return-on-

investment• Returns take significant time to materialize

Strategies• Start with small, targeted, high ROI wins• Gather data that qualitatively demonstrates

value (e.g., reduction of rework)

Benefits (INCOSE MBSE Adoption Guide)

• Increases early rigour, identifies gaps and inconsistencies, and helps to eliminate errors.

• Helps to facilitate checking across domains and disciplines, and increases the degree to which requirements, design and V&V information can be checked by software, complementing the capabilities and skills of engineers

• Increases the potential for design re-use

June 2019 INCOSE-SD MBSE Tutorial 31

Defining the Adoption Scope and Strategy

• MBSE is typically adopted off-cycle (a sandbox environment) or on-cycle (development projects)– Off-cycle projects may lack the rigor and realism of development

projects– On-cycle projects present significant risks

• Need for modeling rules, guidelines, tool customizations, training materials, etc.

• Strategies– Review case studies and adoption guide for situational awareness– Accelerate adoption by using real or realistic case studies and

examples during training

June 2019 INCOSE-SD MBSE Tutorial 32

Developing the Proper Technical Skills

• MBSE requires a new set of technical skills across a wide spectrum of roles– SysML models and notations– Tool usage (mechanical tasks inhibit systems thinking)– Use of models to support engineering analyses

• Strategies– Start with a strong base of systems thinking and systems

engineering skills– Don’t worry about selecting a enterprise-wide tool/approach until

you gain some experience– Select tools used in training to minimize mechanics

June 2019 INCOSE-SD MBSE Tutorial 33

Developing the Proper Management Skills

• The impacts of MBSE on project management are largely unknown– Unknown methods for planning, estimation, measurement, and

control– Greater need for collaboration across the enterprise– New mechanisms for interfacing with customers and their staff

• Strategies– Adapt existing project management mechanisms and

infrastructure– Project managers should attend technical training

June 2019 INCOSE-SD MBSE Tutorial 34

Standardization and Reuse

• Although standardization and re-use offer significant benefits, it is difficult to determine an appropriate strategy– Dependent on commonality of applications across the enterprise,

tool selection, product development methodology, existing reuse strategy, …

– Typical “cut and paste” approach leads to poor engineering

• Strategies– Delay decisions until you gain experience– Focus initially on common system components

June 2019 INCOSE-SD MBSE Tutorial 35