SYSE 802 John D. McGregor Module 1 Session 2 Requirements Modeling in SysML.

Slides:



Advertisements
Similar presentations
CPSC 875 John D. McGregor C17 – Tool Chains. Workflow engine Uses grid.
Advertisements

SYSE 802 John D. McGregor Module 2 Session 2 Method Tailoring.
Objectives Detailed Object-Oriented Requirements Definitions
CS3773 Software Engineering Lecture 03 UML Use Cases.
Object-Oriented Analysis and Design
Systems Analysis and Design in a Changing World, Fourth Edition
Chapter 14 Requirements and Specifications. Copyright © 2005 Pearson Addison-Wesley. All rights reserved Software Engineering The implementation.
UML: Unified Modeling Language
Rational Rose Basics Visual Modeling Textbook – Chapter 3
© Copyright Eliyahu Brutman Programming Techniques Course.
Chapter 2: The Visual Studio.NET Development Environment Visual Basic.NET Programming: From Problem Analysis to Program Design.
Objectives Explain the purpose and objectives of object- oriented design Develop design class diagrams Develop interaction diagrams based on the principles.
Chapter 13: Designing the User Interface
Unified Modeling Language
Object-Oriented Analysis and Design
Chapter 7: The Object-Oriented Approach to Requirements
Free Mini Course: Applying SysML with MagicDraw
Software Engineering CS B Prof. George Heineman.
SOFTWARE ENGINEERING BIT-8 APRIL, 16,2008 Introduction to UML.
CPSC 871 John D. McGregor Module 1 Session 2 Requirements Elicitation/analysis.
SYSE 802 John D. McGregor Module 0 Session 1 Course Introduction.
An Introduction to Software Architecture
Prepared by Afra`a Sayah. Introduction. Weekly Tasks. Plane Phase. Analysis Phase. Design Phase. Report Rules. Conclusion. 2.
Prepared by: Sanaz Helmi Hoda Akbari Zahra Ahmadi Sharif University of Tech. Summer 2006 An Introduction to.
Systems Analysis and Design in a Changing World, Fifth Edition
Requirements Documentation CSCI 5801: Software Engineering.
Copyright 2002 Prentice-Hall, Inc. Chapter 2 Object-Oriented Analysis and Design Modern Systems Analysis and Design Third Edition Jeffrey A. Hoffer Joey.
1 UML Basic Training. UML Basic training2 Agenda  Definitions: requirements, design  Basics of Unified Modeling Language 1.4  SysML.
Systems Analysis and Design in a Changing World, 3rd Edition
Actors and Use Case Diagrams Month Day, Year. Agenda Training Plan Overview Review Detailing Requirements with Requisite Pro Concepts Setting Up XDE Integration.
ARCH-2: UML From Design to Implementation using UML Frank Beusenberg Senior Technical Consultant.
Documenting Software Architectures 1.Uses and Audiences for Architecture Documentation Architecture documentation serves as a means of education Architecture.
7 Systems Analysis and Design in a Changing World, Fifth Edition.
Copyright © 2013 Curt Hill UML Unified Modeling Language.
CPSC 372 John D. McGregor Module 3 Session 1 Architecture.
Systems Analysis and Design in a Changing World, 6th Edition
Interaction Diagrams Interaction Diagrams allow the designer to show how groups of objects collaborate in some behavior. –Interaction Diagrams will show.
Sequence Diagrams And Collaboration Diagrams HungNM.
UML as a Specification Language for Embedded Systems. By, Mir Ahmed Ali, Asst. Professor, ECM department, SNIST. By, Prof. Narsiah sir, Director of School.
1 Software Requirements l Specifying system functionality and constraints l Chapters 5 and 6 ++
CPSC 871 John D. McGregor Module 3 Session 1 Architecture.
Introduction to UML CS A470. What is UML? Unified Modeling Language –OMG Standard, Object Management Group –Based on work from Booch, Rumbaugh, Jacobson.
Systems Analysis and Design in a Changing World, Fourth Edition
Lecture 9-1 : Intro. to UML (Unified Modeling Language)
Architecture View Models A model is a complete, simplified description of a system from a particular perspective or viewpoint. There is no single view.
21/1/ Analysis - Model of real-world situation - What ? System Design - Overall architecture (sub-systems) Object Design - Refinement of Design.
 What to do if you want to build a new house? › Buy a bunch of wood and nails and start immediately. › Or, put some blueprints to follow, and plan of.
Using UML, Patterns, and Java Object-Oriented Software Engineering Chapter 2, Modeling with UML: UML 2 Metamodel Note to Instructor: The material in this.
1 BTS330 Visual Modeling. What is Visual Modeling? 2 Copyright © 1997 by Rational Software Corporation Computer System Business Process Order Item Ship.
Appendix Object-Oriented Analysis and Design: Use Cases and Sequence Diagrams Modern Systems Analysis and Design Fifth Edition Jeffrey A. Hoffer Joey F.
7 Systems Analysis – ITEC 3155 The Object Oriented Approach – Use Cases.
WELCOME TO OUR PRESENTATION UNIFIED MODELING LANGUAGE (UML)
George Wang, Ph.D. COMP 380/L Lesson 2. Use Case Use cases are a way to capture system functionalities (i.e., functional requirements) Based on use case.
COMPREHENSIVE Excel Tutorial 12 Expanding Excel with Visual Basic for Applications.
SYSE 802 John D. McGregor Module 0 Session 2 Model-based methods.
Use Cases UML. Use Cases What are Use Cases?  A statement of the functionality users expect and need, organized by functional units  Different from.
Method – Notation 8 Hours.
Introduction to UML.
Systems Analysis and Design in a Changing World, Fourth Edition
Analysis Classes Unit 5.
UML Diagrams By Daniel Damaris Novarianto S..
Object-Oriented Analysis and Design
John D. McGregor Eclipse Process Framework Module 2 Session 4
UML Diagrams Jung Woo.
Unified Modeling Language
Chapter 9 Use Cases.
Software Design Lecture : 15.
An Introduction to Software Architecture
Copyright © 2015, 2012, 2009 Elsevier Inc. All rights reserved.
Copyright © 2015, 2012, 2009 Elsevier Inc. All rights reserved.
Presentation transcript:

SYSE 802 John D. McGregor Module 1 Session 2 Requirements Modeling in SysML

Session objective This session will describe how to model requirements in SysML in more detail. This session will also give more experience with Topcased.

Three diagrams, one model We want to have a single requirements model. We use two different diagrams that complement each other. And then we use a third diagram that complements the use case diagram. The requirements diagram provides a direct statement of a requirement as an isolated fact. The use case diagram provides a context for that requirement and shows how it relates to other uses of the system.

Digression: A bit of history The Unified Modeling Language was created from three earlier design notations. Eventually it was standardized by the Object Management Group (OMG). SysML, also a standard of OMG, is a “profile” of UML. This means we begin with certain aspects of UML and add the unique items needed for systems engineers to define a new language.

A bit of history - 2 This diagram from the IBM tutorial referenced at the end shows the overlap and differences between UML and SysML. Where the lines from a diagram type touch both the overlap and the SysML specific areas denote additions to the existing diagrams.

Modeling for Systems Engineers One of the differences between a “design” notation like UML and a “systems engineering” notation such as SysML is the scope of what is captured. A SysML model will include both hardware and software entities allowing the systems engineer to describe the entire problem and solution.

A basic use case The stick figure is an actor. An actor is any outside stimulus that interacts with the system. The oval represents a use of the system by the actor(s) associated with the use case. There is a documentation window into which text that explains the use can be entered.

Remove comments from the display and not the model

Model vs diagram The “model” we are building is an xml document that captures all information. A specific diagram is shown in either a graphical or text editor and contains some subset of the model. You can hide elements in a diagram so they are not visible on screen without deleting them from the model.

More use cases Text on next slide

More use cases - 2 The relationship between the Installer and the Vehicle Occupant is “generalization” That is, an Installer can perform all of the uses associated with a Vehicle Occupant plus those reserved for the Installer. Work with the TopCased use case diagram a bit. In the Properties box at the bottom of the screen there are numerous fields that can be used to capture info.

More use cases - 3 The > relationship indicates that executing one use case includes an execution of the other. This decomposition of multiple use cases to identify partial uses that can be included in multiple places makes the use case model more maintainable.

More use cases - 4 A more detailed description of a use case is created by adding a sequence diagram To preserve traceability the sequence diagram can be embedded in the use case diagram Double left click on a use case in the use case diagram and a dialog will allow you to create a sequence or an activity diagram

Embedded diagrams At #1 is the arrow that indicates an embedded diagram. The arrows at #2 moves up/down in layers of diagrams. #1 #2

Embedded diagrams - 2 This is embedded in the use case. It shows elements (hardware pieces and software pieces) that perform actions to carry out the use. The sequence diagram has different arrows for synchronous and asynchronous messages.

Full use case The documentation window for a selected use case allows you to enter the full text of one of the use case’s scenarios.

Use cases -> Requirements A mapping like the one in Session 1 on the Traceability model should be completed. The mapping allows – Maintenance when either model changes – Verification of completeness

Requirements The requirement diagram does several things: – Captures statements of functional and non- functional requirements – Establishes traceability between requirements and test cases – Forms the basis for development The requirement statements must eventually be sufficiently specific to guide a developer in creating code.

Requirements - 2 Non-functional requirements can be handled in one of two ways – There can be stand-alone requirements statements The system shall boot to a stable, usable state in 2 seconds from power on. – The functional and non-functional requirements can be integrated The system shall reach a stable state in which a call can be made in 2 seconds from power on.

Viewpoint specification The > stereotype specifies a perspective for creating a view (a portion of the model) that relates to a stakeholder

Requirements - 3 As can be seen in the next slide, a requirements diagram can be labeled with a Viewpoint. When you select the use case slot in the properties dialog, a dialog pops up with all available use cases from within the same model. This provides another means of associating a use case to all related requirements.

Requirements - 4 #1 #2

Additional tutorials These tutorials give information about the syntax of SysML. – Use case diagram (and other diagrams) – Requirements diagram (and others) – Sequence diagram The construction of these diagrams in Topcased is described in the tutorials found at: – – Use both the QuickStart editor tutorial and the UML/SysML editor tutorial