Quick Start Guide. Fundamentals of Systems Modeling Series. Systems Modeling with Enterprise Architect version 9.1. Version 1.



Similar documents
Using Rational Rose to Create Object-Oriented Diagrams

Viewing and Troubleshooting Perfmon Logs

Building A Very Simple Web Site

PC Agent Quick Start. Open the Agent. Autonomy Connected Backup. Version 8.8. Revision 0

Writing Use Case Scenarios for Model Driven Development

How To Create A Complex Diagram On A Computer Game

Advanced Presentation Features and Animation

Using SSH Secure Shell Client for FTP

Astah SysML Quick Start Manual for Version 1.0

McAfee Endpoint Encryption Reporting Tool

Lab Manual: Using Rational Rose

Enterprise Architecture Modeling PowerDesigner 16.1

Project Management with Enterprise Architect

Requirements Management with Enterprise Architect

Personal Call Manager User Guide. BCM Business Communications Manager

How to create pop-up menus

Go Kiwi Internet Content Management System Version 5.0 (K5) TRAINING MANUAL

Quick Guide to the Cascade Server Content Management System (CMS)

EXCEL IMPORT user guide

BIGPOND ONLINE STORAGE USER GUIDE Issue August 2005

Model Simulation in Rational Software Architect: Business Process Simulation

MICROSOFT OUTLOOK 2010 READ, ORGANIZE, SEND AND RESPONSE S

IBM Operational Decision Manager Version 8 Release 5. Getting Started with Business Rules

Learn how to create web enabled (browser) forms in InfoPath 2013 and publish them in SharePoint InfoPath 2013 Web Enabled (Browser) forms

Basic Formatting of a Microsoft Word. Document for Word 2003 and Center for Writing Excellence

Working with Office Applications and ProjectWise

Create an Excel BI report and share on SharePoint 2013

Software Application Tutorial

Change Management for Rational DOORS User s Guide

ARIS Education Package Process Design & Analysis

Content Author's Reference and Cookbook

MICROSOFT ACCESS 2003 TUTORIAL

You must have at least Editor access to your own mail database to run archiving.

UML Class Diagrams (1.8.7) 9/2/2009

ZIMBRA LAYOUT. Keyboard Shortcuts Hitting G and the beginning letter of any of the tabs will instantly take you to that tab

Kareo Quick Start Guide April 2012

E--Mail Archive Mail Ar User G u d ide

Remedy ITSM Service Request Management Quick Start Guide

Instructions for Configuring a SAS Metadata Server for Use with JMP Clinical

Configure SPLM 2012 on Windows 7 Laptop

Ultimus and Microsoft Active Directory

603: Enhancing mobile device experience with NetScaler MobileStream Hands-on Lab Exercise Guide

BASIC CLASSWEB.LINK INSTALLATION MANUAL

USING STUFFIT DELUXE THE STUFFIT START PAGE CREATING ARCHIVES (COMPRESSED FILES)

Most of your tasks in Windows XP will involve working with information

HRS 750: UDW+ Ad Hoc Reports Training 2015 Version 1.1

MS Project Tutorial for Senior Design Using Microsoft Project to manage projects

Working with SQL Server Integration Services

Archiving in Microsoft Outlook. This document looks at archiving and saving space in the Microsoft Outlook program. INFORMATION SYSTEMS SERVICES

OWA - Outlook Web App

One Drive for Business User Guide

Capturing Material. Section 3

Auditing UML Models. This booklet explains the Auditing feature of Enterprise Architect. Copyright Sparx Systems Pty Ltd

Page Numbering for a Thesis or Dissertation

UML PROFILING AND DSL

Chapter 14: Links. Types of Links. 1 Chapter 14: Links

A database is a collection of data organised in a manner that allows access, retrieval, and use of that data.

Content Author's Reference and Cookbook

SAS Business Data Network 3.1

GUARD1 PLUS Mini-Attendant File Manager User's Guide Version 2.71

Introduction to Simulink

Roth IRA Conversion Evaluator

Building A Very Simple Website

OWA User Guide. Table of Contents

MICROSOFT OUTLOOK 2011 READ, SEARCH AND PRINT S

Publish Joomla! Article

Pharmacy Affairs Branch. Website Database Downloads PUBLIC ACCESS GUIDE

Using an Automatic Back Up for Outlook 2003 and Outlook 2007 Personal Folders

PaperStream Connect. Setup Guide. Version Copyright Fujitsu

Overview... 2 How to Add New Documents... 3 Adding a Note / SMS or Phone Message... 3 Adding a New Letter How to Create Letter Templates...

Outlook Web App The Basics

VERITAS NetBackup Microsoft Windows User s Guide

Building and Using Web Services With JDeveloper 11g

Making a Web Page with Microsoft Publisher 2003

Database Forms and Reports Tutorial

Uploading files to a web server using SSH Secure Shell 3.2.9

Build Your First Web-based Report Using the SAS 9.2 Business Intelligence Clients

How to FTP (How to upload files on a web-server)

Outlook Exchange

Getting Started with the Aloha Community Template for Salesforce Identity

MadCap Software. Import Guide. Flare 11

Outlook Web Access Tutorial

Server Manual. For Administrators of Cameleon Version 4

Acrobat PDF Forms - Part 2

WSDOT ProjectWise V8i Training 101

Export the address book from the Blackberry handheld to MS Outlook 2003, using the synchronize utility in Blackberry Desktop Manager.

McAfee Asset Manager Console

PowerPoint 2007: Animations Contents

Fax User Guide 07/31/2014 USER GUIDE

vcenter Orchestrator Developer's Guide

USER GUIDE. Unit 2: Synergy. Chapter 2: Using Schoolwires Synergy

This manual provides information and instructions for Mac SharePoint Users at Fermilab. Using Sharepoint from a Mac: Terminal Server Instructions

Solution domain. Cloud PC Backup Startingkit for users. Date 26/05/2015 Sensitivity Unrestricted Our reference V1.0 Contact

MICROSOFT OFFICE ACCESS NEW FEATURES

Getting Started with KompoZer

BPEL. A Step by Step Guide: Model-Driven Generation with. Enterprise Architect. T his document will teach you how to use the Business Process

Publishing KML Services Tutorial

CBHI Export/File Import to MS Excel Reference Guide

Transcription:

Systems Modeling with Enterprise Architect version 9.1 Quick Start Guide Version 1.1 October 28, 2011 Fundamentals of Systems Modeling Series Pathfinder Solutions www.pathfindersystemsmodeling.com +1 508-568-0068 Copyright 1995-2011 by Pathfinder Solutions LLC, all rights reserved

Table of Contents OVERVIEW...2 HOW TO USE THIS GUIDE...2 AUDIENCE...2 CONVENTIONS...2 A NOTE FOR STUDENTS OF THE FUNDAMENTALS OF SYSTEMS MODELING CLASS...2 CREATING THE SENTRYSYSTEM MODEL...3 TASK 1: CREATE AN ENTERPRISE ARCHITECT SYSML PROJECT AND MODEL...3 PROCEDURE: Use Enterprise Architect Start Page to Create a New Project...3 TASK 2: CREATE USE CASE DIAGRAM...6 PROCEDURE: Create a Use Case Diagram...6 PROCEDURE: Add a UseCase and Actors...7 TASK 3: CREATE PACKAGES AND DIAGRAMS IN THE STRUCTURE VIEW...8 PROCEDURE: Create Package Hierarchy in the Structure View...8 PROCEDURE: Complete the Block Definition Diagram capturing the Logical Architecture...9 TASK 4: CREATE A LOGICAL SCENARIO MODEL...12 PROCEDURE: Add a Sequence Diagram to Capture a new Logical Scenario...12 TASK 5: CREATE NEW VALUE TYPES...17 PROCEDURE: Add a new scalar value type and a structure block to the System DataModel...17 PROCEDURE: Add a new scalar value type to the GlobalGeometry Logical Component...18 TASK 6: DETAILED BLOCKS IN A LOGICAL COMPONENT...19 PROCEDURE: Create a BDD for the SensorResourceManagement Logical Component...19 PROCEDURE: Add Generalizations and Associations between SensorResourceManagement Blocks...20 PROCEDURE: Add Value Properties to SensorResourceManagement Blocks...21 PROCEDURE: Add Operations to SensorResourceManagement Blocks...24 TASK 7: MODEL STATE BEHAVIOR FOR A LOGICAL BLOCK...25 PROCEDURE: Create a State Machine Diagram for the Subject Block...25 PROCEDURE: Define Subject Block Signals...26 PROCEDURE: Add Signal Triggers to the Subject State Machine...27 TRANSFORMING THE SENTRYSYSTEM MODEL...29 TASK 1: GENERATE HTML DOCUMENTATION FROM PROJECT...29 PROCEDURE: Generate documentation for the SentrySystem project...29 1

Overview How to Use this Guide Audience If you have not installed the Enterprise Architect toolset on your computer, please do this first. This document is provided as a first step in learning how to capture Systems Models using the Sparx Systems Enterprise Architect SysML tool. It is not intended as a guide to systems modeling Best Practice. The Quick Start Guide is for systems modelers who want to learn how use Enterprise Architect to capture systems models in SysML. Conventions The Quick Start Guide uses these conventions: Bold is for clickable buttons and menu selections. Italics is for screen text, path and file names, and other text that needs special emphasis. Courier denotes code, or text in a log or a batch file. A Note contains important information, or a timesaving tip. The scissors icon marks text that you copy from this document and paste elsewhere. A Note for Students of the Fundamentals of Systems Modeling Class Dear Students, Given the time constraints of a class setting, this document has you construct a very limited subset of the SentrySystem model. Many elements are missing, or are only partially abstracted. This is especially true of model element descriptions only a few are shown, and simply to introduce their mechanics. Please do not consider the abbreviated nature of the modeling procedures in this guide to be a suitable example of modeling practice. Thank you for your efforts in applying your new skills, and best of luck! Sincerely, - the instructors at Pathfinder Solutions Enterprise Architect, Sparx Systems, and related marks and images are copyright Sparx Systems Pty Ltd. All rights reserved by Sparx Systems Pty Ltd. Used with permission. Visit http://www.sparxsystems.com.au. 2

Creating the SentrySystem Model Task 1: Create an Enterprise Architect SysML Project and Model In Enterprise Architect, all work is conducted within a project. PROCEDURE: Use Enterprise Architect Start Page to Create a New Project 1. From the Enterprise Architect Start page click on Create A New Project... The New Project dialog opens. 2. Select a directory and enter the filename SentrySystem.eap. Click Save 3

The select model(s) dialog opens 3. Click SysML 1.2, then click OK. A new model is displayed in the Project Browser pane. Select the model and right click to Rename it to SentrySystem. 4

4. Select the model SentrySystem. Right click and select Add Add View... The Create New View dialog is displayed. 5. Enter Requirements into the Name text entry field. Select Simple for the SetViewIcon Style, and click OK. A new view named Requirements is added to the SentrySystem model. 5

Task 2: Create Use Case Diagram 6. Add new view named Use Cases with Set View Icon Style Use Case. 7. Add new view named Structure with Set View Icon Styles Component. PROCEDURE: Create a Use Case Diagram 1. Open the SentrySystem model from the Project Browser. Select the Use Cases view in the ProjectBrowser. Click the New Diagram tool icon. The New Diagram dialog is displayed. 2. Under Select From select SysML 1.2. In the Name field enter Detect, and from the DiagramTypes list select UseCase. Click OK. The new Use Case diagram is opened and shown in the project browser. 6

PROCEDURE: Add a UseCase and Actors 1. To open the Toolbox pane for SysML Use Cases, select More tools and then select SysML 1.2 SysML 1.2 Use Case. 2. Using the tool icons from the SysML Use Cases tool drawer, add a Use Case and name it Detect. In the Notes field add the description The interactions around the initial detection and reporting of a Target by the system. 3. Add 3 Actors: Target An entity that may enter the area monitored by Sentry, C2 The command and control element that controls Sentry. and TheaterView The theater-wide situational awareness center. 4. From the Toolbox Common tools drawer use the Information Flow tool icon to add an interaction from the actor Target to the use case Detect. The Information Items Conveyed dialog box is displayed. 5. Click OK (add no items). 6. Add 2 more interactions, one from Detect to TheaterView, and another from C2 to Detect. 7

7. Click control-s to save your changes to the model. Task 3: Create Packages and Diagrams in the Structure View PROCEDURE: Create Package Hierarchy in the Structure View 1. Select the Structure view from the Project Browser. Use the Add Package tool icon in the Project browser to add a new package to the Structure View. The New Model Package dialog is displayed. 2. In the name field enter DataModel and click OK. 3. In the New Diagram dialog select BlockDefinition for the diagram type: 8

4. Add 3 more packages named Enterprise, Logical and Physical to the Structure view, each with their own Block Definition Diagram (BDD). PROCEDURE: Complete the Block Definition Diagram capturing the Logical Architecture 1. Select the BDD Logical in the Logical package from the Project Browser. Right click and pick Properties. Rename the diagram Sentry Logical Architecture, and click OK. 9

2. Double click the diagram Sentry Logical Architecture to open it 3. From the SysML Block Definition tool drawer, use the Block tool to create a new block on the Sentry Logical Architecture diagram. A Block dialog is displayed. 4. In the Name text entry box enter the name EntityTracking, with the description Tracks entities without regard to the actual sensors that report the observations. in the Notes field. In the Stereotype box type Logical Component (or select it from the list by typing Log and then hitting the down arrow key). Click OK. (Please note for the purpose of streamlining the QSG no more descriptions will be required. However descriptions are often the most valuable single aspect of a real model element so please remember to describe each element of your Real Model.) 5. Repeat steps 3 and 4 to add more blocks named ExternalMessageInterface, GlobalGeometry, MathServices, SensorInterface, and SensorResourceManagement to the Sentry Logical Architecture diagram as shown below. 10

6. SysML Block Relationships tool drawer use the Dependency tool icon to add dependencies as shown below. 11

7. Click control-s to save your changes to the model. Task 4: Create a Logical Scenario Model PROCEDURE: Add a Sequence Diagram to Capture a new Logical Scenario 1. Select the Logical package from the Project Browser and use the Add a Package tool at the top of the Project Browser to create a new Package with the name Logical Scenario Models. Deleselect Automatically add new diagram and click OK. 2. Select the Logical Scenario Models package from the Project Browser and use the New Diagram tool at the top of the Project Browser to create a new diagram with type Sequence with the name NewSubject. The new Sequence Diagram is opened. 3. In the Project Browser select the SensorInterface Block and use the Create Element tool at the top of the Project Browser to create a new element of type Interface with the name SI services. Click Create in the New Element Dialog. 12

The Interface dialog appears: 4. Click OK in the Interface dialog. 5. Drag the new Interface SI services from the Project Browser to the Sequence Diagram and place it in the upper left corner. 13

The Paste Element dialog appears: 6. Click OK. 7. Repeat steps 3 and 4 to add interfaces to all other Logical Component Blocks in the Logical Package. Name the new interfaces ET services, EMIF services, GG services, MS services, and SRM services, 8. Repeat steps 5 and 6 to place the Interfaces (in order from left to right) ET services, SRM services, and EMIF Services. The Sequence Diagram should look like 9. From the SysML Interaction tool drawer in the Toolbox, use the Message tool to draw a message line from the SI services Lifeline to the ET services Lifeline. Double-click the new message line. 14

The Message Properties dialog appears: 10. Click the Operations button. The Operations dialog appears for ET services: 15

11. Enter NewObservation in the Name field. 12. Enter the following description into the Notes field: Reports a new observation. The observation could correlate to an existing entity, or indicate a new entity. 13. Click Save, OK, OK. 14. From the SysML Interactions tool drawer use the Fragment tool to draw a Fragment box over the NewObservation message on the diagram. Select a Type of loop and for the Condition enter accumulate 3 observations. 15. Click Save and OK. 16

Stretch and reposition elements like: 16. Repeat steps 9-13 to place a message below the loop block, from ET services to SRM services named NewSubject. 17. Repeat steps 9-13 to place a message below the NewSubject message, from SRM services to EMIF services named SendMessage. Your sequence diagram should look something like: Task 5: Create New Value Types 18. Click control-s to save your changes to the model. PROCEDURE: Add a new scalar value type and a structure block to the System DataModel 1. Select the DataModel package from the Project Browser and use the New Diagram tool at the top of the Project Browser to create a new diagram with type BlockDefinition with the name SystemTypes. The new block definition diagram is opened. 2. From the SysML Block Definition tool drawer, use the ValueType tool icon to create a new ValueType on the SystemTypes diagram. 17

A ValueType dialog is displayed. 3. In the Name text entry box enter the name sys_time_t. Click OK. 4. If your ValueType symbol displays tags you can turn off this extra detail. Right-click on the symbol and select Feature Visibility. In the Show Element Compartments box deselect Tags. Click OK. 5. Use the Block tool icon to add a structure block to the diagram. In the Block dialog enter the name sys_zoneviolationalert. 6. Select the Details tab and click the Attributes button. Enter the name alertcode (the type is int default) and click the Save button. 7. Click the New button, enter the name timestamp, enter sys_time_t in the Type field and click Save, then Close. 8. On the Block Definition Diagram right-click on the sys_zoneviolationalert Block and select Feature Visibility. Under Attribute Visibility select All and click OK. Your DataModel value types should look like this: 9. Click control-s to save your changes to the model. PROCEDURE: Add a new scalar value type to the GlobalGeometry Logical Component 1. In the Project Browser select the GlobalGeometry block under the Logical package and use the New Diagram tool at the top of the Project Browser to create a new BlockDefinition diagram with the name GlobalGeometry. 18

The new Block Definition Diagram is opened. 2. From the SysML Block Definition tool drawer, use the ValueType tool icon to create a new ValueType on the GlobalGeometry diagram. 3. In the Name text entry box enter the name gg_space_t. Click OK. 4. Click control-s to save your changes to the model. Task 6: Detailed Blocks in a Logical Component PROCEDURE: Create a BDD for the SensorResourceManagement Logical Component 1. In the Project Browser under the Logical package select the block SensorResourceManagement. Using the New Diagram tool in the Project Browser create a new Block Definition diagram named SensorResourceManagement. The new block definition diagram is opened. 2. Using the Block tool from the SysML Block Definition tool drawer, create blocks named Subject, Tracker, Sensor, FieldOfView, FixedViewSensor, and ConfigurableViewSensor. 19

3. Select the Subject block, right click and select Properties Enter the following description into the Notes field An object which is being tracked. It can be friend or foe. 4. Click OK. PROCEDURE: Add Generalizations and Associations between SensorResourceManagement Blocks 1. Using the Generalize tool in the SysML Block Definition tool drawer draw a generalization relationship from FixedViewSensor to Sensor, and from ConfigurableViewSensor to Sensor. 2. Select one of the generalizations, right click and select LineStyle -> Tree Style Vertical. Repeat for the second generalization. 3. Use the ReferenceAssociation tool to draw an association from Tracker to Subject. 4. Right click on the new association and select Association Properties The Association Properties Dialog is opened. 5. Click on the Source Role tab, and in the Tracker Role text entry field enter tracks. From the Multiplicity pull down, select 1. 6. Click on the Target Role tab, and from the Multiplicity pull down, select *. Click OK. 7. Use the ReferenceAssociation tool to draw an association from ConfigurableViewSensor to FieldOfView, and use the PartAssociation tool to draw a Compose association from Sensor to Tracker, and set the role names and cardinality as shown in the diagram below: 20

8. Click control-s to save your changes to the model. PROCEDURE: Add Value Properties to SensorResourceManagement Blocks Value properties of blocks are abstracted as attributes. 1. In the Project Browser, select the block Tracker, right click and select Attributes 21

A Dialog named Tracker Attributes is opened. 2. In the Name text entry field enter communicationzone. In the type selection list choose gg_space_t and then click Save. A new attribute named communicationzone is listed at the bottom of the dialog. 3. Click New. Create a new attribute with name id, and type int, and click Save. 22

Tracker Attributes dialog with two new attributes: 4. Click Close. 5. On the BDD right-click on the Tracker Block and select Feature Visibility. Under Attribute Visibility select All and click OK. 23

6. Add Value Properties to other blocks as shown: 7. Click control-s to save your changes to the model. PROCEDURE: Add Operations to SensorResourceManagement Blocks 1. In the Project Browser, select the block Sensor, right-click and pick Operations. 2. In Name enter getactivefieldofview and pick a Return Type of gg_space_t. 3. Enter the description below in the Notes field: Return the currently active field of view monitored by this sensor. 4. Click Save and Close. 5. Add a getactivefieldofview operation with a return type of gg_space_t to the FixedViewSensor and enter the description below in the Notes field: 24

Override supertype behavior to return a fixed field of view for this sensor. 6. Add a getactivefieldofview operation with a return type of gg_space_t to the ConfigurableViewSensor and enter the description below in the Notes field: Override supertype behavior to return a summation of the associated fields of view for this sensor. 7. Click control-s to save your changes to the model. Task 7: Model State Behavior for a Logical Block PROCEDURE: Create a State Machine Diagram for the Subject Block 1. In the Project Browser, select the block Subject. Using the New Diagram tool in the Project Browser create a new StateMachine diagram named Subject state machine. The new state machine diagram is opened. 25

2. Use the Initial tool to create an Initial Pseudostate. Click OK in the State dialog. 3. Use the State tool to create States named Created, Identifying and Moving. 4. Use the Transition tool to add Transitions from the Initial Pseudostate to Created, from Created to Identifying, from Identifying to Moving, and from Moving to Moving (click and release within Moving). Arrange your diagram like this: 5. Select the self Transition (transition to itself) of the Moving state, right click and select Line Style Bezier. PROCEDURE: Define Subject Block Signals 1. In the Project Browser, select the block Subject. Use the New Diagram tool in the Project Browser to create a new BlockDefinition diagram named Subject definition. 2. At the top of the Toolbox click More Tools, then click Class: 3. Use the Signal tool to place two Signals on the BDD, named Identify and PositionUpdated. 26

The Subject BDD looks like: 4. Right-click the Signal PositionUpdated and select Attributes. Add the attribute new_position with Type gg_space_t. Click Save and Close. PROCEDURE: Add Signal Triggers to the Subject State Machine 1. At the bottom of the main diagram pane, select the tab for the Subject state machine State Machine. 2. Double-click on the transition from Created to Identifying. 3. In the Transition dialog on the Constraints tab in the Trigger region enter Identify in the Name field, select Signal for Type and select the Identify signal under Specification. 4. Click Save and OK. 27

5. Repeat this to bind the PositionUpdated Signal as the Trigger for the two Transitions into the Moving State. The Subject BDD looks like: 6. Click control-s to save your changes to the model. Congratulations! You have constructed the SentrySystem Model with Enterprise Architect. 28

Transforming the SentrySystem Model Task 1: Generate HTML documentation from Project PROCEDURE: Generate documentation for the SentrySystem project NOTE Reports generated from EA require JavaScript to be enabled. Not all browsers are supported. 1. In the Project Browser, select the project SentrySystem. From the Enterprise Architect menu, select Project->Documentation->HTML Report The Generate HTML Report dialog is opened. 2. Enter SentrySystem QSG report in the Title text entry field, and in the Output to field use the browse ( ) button to choose a target directory. Click Generate 3. Click OK. Click View. Congratulations! You transformed your Systems Model to documentation. 29