OMG Sysml™ Requirements Traceability
Total Page:16
File Type:pdf, Size:1020Kb
OMG SysML™ Requirements Traceability (informative) This document has been published as OMG document ptc/07-03-09 so it can be referenced by Annex E of the OMG SysML™ specification. This document describes the requirements tracability matrix (RTM) that shows how SysML satisfies the requirements in Sec- tions 6.5 (Mandatory) and 6.6 (Optional) of the UML for SE RFP (OMG document ad/03-03-41). The matrix includes col- umns that correspond to those identified in the first paragraph of Section 6.5 of the RFP and are restated here. The text requirement statement is included in the RFP and was excluded from this document due to space limitations. a) The UML for SE requirement number. b) The UML for SE requirement name (or other letter designator). Note: The reader should refer to the UML for SE RFP for the specific text of the requirement, since there was inadequate room in the table to repeat it here. c) Describes whether the proposed solution is a full or partial satisfaction of the requirement, or whether there is no solution provided. The section header rows that do not have a text requirement are marked N/A. d) A description of how SysML addresses the requirement. Note: In some cases, there may be other SysML solutions to satisfy the requirement, but the intent was to describe at least one solution. e) The specific UML and SysML metaclasses that address the requirement. f) Reference to the applicable chapter in the SysML specification which addresses e) above. This diagram element tables in the chapter describe the concrete syntax (symbols) that show how the solution to the requirement is represented in diagrams. The usage examples in the chapters along with sample problem in “Annex B: Sample Problem” describe how the solution to the requirement is used in representative examples. Note: The reference to a chapter may require reference to a corresponding chapter in the UML specification. For example, when the blocks chapter is referenced, this may include a combination of the SysML blocks chapter and the UML classes and composite structure chapters. Table E.1 - Requirement Traceability matrix UML for Requirement Compl Requirement Satisfaction Metaclass SysML Ver # SE Req't name (Y/N, Extension Diagram # Partial) Chapter 6.5 Mandatory Requirements 6.5.1 Structure N/A Structure diagrams include block Structural definition, internal block, and Constructs package diagrams 6.5.1.1 System Y Block composition (black or SysML::Block, Blocks 1.0 hierarchy white diamond) in a block UML::Association, definition diagram and parts in SysML::Block internal block diagrams are the Property primary mechanisms for representing system hierarchy. OMG SysMLTM Adopted Specification 1 a. Subsystem Y Typically represented by a set of SysML::Block, Blocks 1.0 (logical or logical or physical parts in an SysML::Block physical) internal block diagram that Property realize one or more system operations. The corresponding sequence diagram and activity diagram with swim lanes can represent a hybrid of structure and behavior. b. Hardware Y Represented by a block or part. SysML::Block, Blocks 1.0 (i.e., electrical, SysML::Block mechanical, Property optical) c. Software Y Represented by a block or part or SysML::Block, Blocks 1.0 a UML component. SysML::Block Property, UML::Component d. Data Y Represented by a block or part. SysML::Block, Blocks 1.0 Refer to input/output SysML::Block requirements in 6.5.2.1.1 and Property, 6.5.2.5 for data flows. SysML::ValueType, UML::DataType e. Manual Y Represented by a block or part. SysML::Block, Blocks 1.0 procedure Can also be represented by the SysML::Block standard UML stereotype Property, <<document>>. UML::Document f. User/person Y Represented by a block or part. SysML::Block, Blocks 1.0 External users are also SysML::Block represented as actors in a use Property case diagram. g. Facility Y Represented by a block or part. SysML::Block, Blocks 1.0 SysML::Block Property h. Natural Y Represented by a block or part. SysML::Block, Blocks 1.0 object SysML::Block Property i. Node Y Represented by a block or part. SysML::Block, Blocks 1.0 SysML::Block Property 6.5.1.2 Environment Y Environment is one or more SysML::Block, Blocks, 1.0 entities that are external to the SysML::Block system of interest and can be Property Use Case represented as a block or part of a broader context. Also, represented as actors in use cases. 2 OMG SysMLTM Adopted Specification 6.5.1.3 System Internal block diagram shows SysML::Block, Blocks 1.0 inter- connections using parts, ports, SysML::Block connection and connectors. Property, UML Association, UML::Connector: SysML::Nested ConnectorEnd 6.5.1.3.1 Port Y A port defines an interaction SysML::Standard Ports and 1.0 point on a block or part that Port, Flows enables the user to specify what can flow in/out of the block/part UML::Interface, (flow port) or what services the SysML::FlowPort, block/part requires or provides SysML::Flow (Standard Port). Ports are Specification, connected using connectors. SysML::Flow Property 6.5.1.3.2 System Y The enclosing block for an SysML::Block Blocks, Ports 1.0 boundary internal block diagram and its and Flows ports. SysML::Standard Port, SysML::FlowPort 6.5.1.3.3 Connection Y A connector binds two ports to UML::Association, Blocks 1.0 support interconnection. A UML::Connector, connector can be typed by an SysML::Nested association. A logical connector ConnectorEnd can be allocated to a more complex physical path depicting a set of parts, ports, and connectors (refer to allocation). Note: A connector has limited decomposition capability at this time. 6.5.1.4 Deployment of Y A structural allocation SysML::Allocation, Allocations 1.0 components to relationship enables the SysML::Allocated, nodes allocation (deployment) of one UML::Named structural element to another. Element a. Y Software part, block or SysML::Allocation, Allocations 1.0 component deployed to a SysML::Allocated, hardware part or block SysML::Block, (processor or storage device). SysML::Block Property, UML::Component b. Y Generalized deployment SysML::Allocation, Allocations 1.0 relationship between a deployed SysML::Allocated, element and its host. SysML::Block, SysML::Block Property OMG SysMLTM Adopted Specification 3 c Y Deployed element and host can SysML::Block, Allocations 1.0 be decomposed using blocks and SysML::Block parts. Property 6.5.2 Behavior N/A Behavior diagrams include Behavioral activity, sequence, and state Constructs machine diagrams. Communication diagrams, interaction overview diagrams, and timing diagrams are interaction diagrams that are not included in SysML. Use case diagrams are also viewed as a behavior diagram in that they represent the functionality in terms of the usages of the system, but do not depict temporal relationships and associated control flow or input/output flow. 6.5.2.1 Functional A behavior is the generalized UML::Behavior Activities Transformation form of a function with inputs of Inputs to and output parameters. Activity is Outputs a subclass of behavior. 6.5.2.1.1 Input/Output Y Inputs and outputs can be UML::Parameter, Activities, 1.0 represented as parameters of UML::ObjectNode, Ports and activities, object nodes flowing SysML::ItemFlow Flows between action nodes, and as item flows between parts in an internal block diagram. Note: Object nodes are more precisely represented by pins on action nodes. a Y Parameters, object nodes, and SysML::Block, Activities, 1.0 item properties are typed by UML::Parameter, Ports and classifiers (blocks or value types) UML::ObjectNode, Flows that can have properties. SysML::ItemFlow b Y The classifiers that represent the SysML::Block, Activities, 1.0 things that flow (type of UML::Parameter, Ports and parameter, object node, and item UML::ObjectNode, Flows, Blocks property) can be decomposed and SysML::ItemFlow specialized. c Y "ItemFlows" associate the things SysML::Block, Activities, 1.0 that flow with the connectors that UML::Parameter, Ports and bind the ports. The parameters UML::ObjectNode, Flows and object nodes are bound to SysML::ItemFlow the corresponding activities and actions. 4 OMG SysMLTM Adopted Specification 6.5.2.1.2 System store Partial Stored items can be represented SysML::Block, Blocks, 1.0 as parts of a block, and also SysML::Block Activities represented in an activity Property, diagram as object nodes or central buffer nodes. UML::ObjectNode UML::Central BufferNode a Partial Object nodes in an activity UML::ObjectNode, Activities 1.0 diagram can represent depletable UML::DataStore stores, and a data store node can Node represent non-depletable stores. b Y A stored item can be the same SysML::Block, Blocks, 1.0 type of classifier as an input or SysML::Block Activities output in both an internal block Property, diagram and an activity diagram. UML::ObjectNode, The classifier supports different UML::DataStore roles (store vs. flow). Node 6.5.2.1.3 Function Y Activity specifies a generic UML::Activity Activities, 1.0 subclass of behavior that is used Interactions, to represent a function definition State in activity diagrams, sequence Machines diagrams, and state-machine diagrams. Activities contain CallBehaviorActions that call (invoke) other activities to support execution of the generic behaviors. a Y Behaviors and the associated UML::Behavior Activities, 1.0 parameters are named (i.e., name Interactions of activity and activity parameter node). State Machines b Y The action semantics define UML::CreateObject Activities, 1.0 different types of actions that Action, Interactions include CreateObject, UML::DeleteObject DestroyObject, Action, the various State ReadStructuralFeature (monitor), object modification Machines and WriteStructurealFeature actions in UML, (update). A CallBehavior action monitoring with is a generalized action that can UML::AcceptEvent call any behavior (activity, Action interaction, state).