Professional Documents
Culture Documents
Intro To The SysML v2 Language-Graphical Notation
Intro To The SysML v2 Language-Graphical Notation
C o p y r i g h t © 2 0 2 1 by S a n f o r d Fr i e d e n t h a l
Licensed under the Creative Commons Attribution 4.0 International License.
To v i e w a c o p y o f t h i s l i c e n s e, v i s i t h t t p : / / c r e a t i v e c o m m o n s . o rg / l i c e n s e s / by / 4 . 0 / o r
s e n d a l e t t e r t o C r e a t i v e C o m m o n s, P O B ox 1 8 6 6 , M o u n t a i n V i e w, C A 9 4 0 4 2 , U S A .
Updates since 2021-09-18 SST
2021-09-21: Slide 83 – changed include on use case
2021-09-23: Slide 69 - refer to default
2021-09-23: Slide 70 – changed body to result
2021-09-23: Slide 77 – changed body to expression
2021-09-23: Slide 99 – updated view (PartUsage) and viewpoint (stakeholder)
2021-09-30: Slides 99-102 – updated view/viewpoint based on discussion at joint track lead session on 9/30
2021-11-02 Slides 81-82 – replace square brackets with angle bracket on req’t id
2021-11-02 New Slide 18 – element import notation
2021-11-06 Slide 19 – updated alias notation
2021-11-02 Slide 37 – added binding connection
2021-11-02 Slide 39 – updated interfaces compartment
2021-11-02 Slide 50 – updated input/output flows
2021-11-02 Slide 51 – updated parallel notation
2021-11-03 Slide 70 – changed ‘=>’ to ‘=‘
2021-11-04 Slides 49-50 – change parameter notation – change from flow to binding on delegations
2021-11-04 Slides 57-59 – remove slash from entry, do, and exit actions
2021-11-06:Slide 19 – added reference to filter criteria for package import
2021-12-12: Slide 27 – changed blue to Colors::blue
2021-12-12: Slide 86 – changed objective function to evaluation function
2 13 Dec 2021
SysML v2 Functional Areas SST
1. Packages & Element Names 13. Expressions & Calculations
2. Definition Elements 14. Quantities & Units
3. Usage Elements 15. Constraints
4. Part Decomposition 16. Requirements
5. Part Interconnection 17. Use Cases
6. Variability 18. Analysis Cases
7. Actions 19. Verification Cases
8. Action Flow 20. Dependency & Allocation Relationships
9. States 21. Annotations
10. Interactions 22. Element Filters
11. Individuals 23. View & Viewpoint
12. Timeslices & Snapshots 24. Language Extension (not implemented yet)
3 13 Dec 2021
General Caveats SST
¡ The graphical visualization in this presentation is captured in Visio, but will need
to be rendered in a more precise way to reflect the specification in the future
¡ Two visualization prototypes are under development (Tom Sawyer and
PlantUML)
SysML v2 Marker
¡ Some of the more significant SysML v2 changes in functionality and terminology
relative to SysML v1 are designated with the SysML v2 marker
6 13 Dec 2021
Key Elements of SysML v2 SST
7 13 Dec 2021
SysML v2 Language SST
Capabilities
Updated
Requirements
Behavior
- function-based Analysis
- state-based - analysis cases
- sequence-based - expression language
- use cases SysML v2
Structure
Language
- decomposition Verification
- interconnection - verification cases
- classification
View & Viewpoint
8 13 Dec 2021
Definition and Usage SST
Reuse Pattern
A definition element defines an element such as a part, action, or requirement
A usage element is a usage of a definition element in a particular context
¡ Therecan be different usages of the same definition element in either different
contexts or the same context
Pattern is applied consistently throughout the language
«usage» «usage»
context1 context2
«usage» «usage»
usage1 usage2 notation
defined by
:
:
«definition»
«definition»
DefinitionA
DefinitionA
9 13 Dec 2021
SysML v2 to v1 SST
Terminology Mapping (partial)
SysML v2 SysML v1
part / part def part property / block
attribute / attribute def value property / value type
port / port def proxy port / interface block
action / action def action / activity
state / state def state / state machine
constraint / constraint def constraint property / constraint block
requirement / requirement def requirement
connection / connection def connector / association block
10 13 Dec 2021
SysML v2 Notation (1 of 2) SST
Textual and Graphical
package 'Vehicle Parts Tree' {
part vehicle {
attribute mass;
perform providePower;
part engine {
attribute mass;
perform generateTorque;
part cylinders [6];
}
part transmission {
attribute mass;
perform amplifyTorque;
}
}
}
package 'Vehicle Action Tree'{
action providePower {
action generateTorque;
action amplifyTorque;
}
}
11 13 Dec 2021
SysML v2 Notation (2 of 2) SST
Textual and Graphical
interface def Drive {
end enginePort : DrivePort;
end transmissionPort : ~DrivePort;
}
interface : Drive
connect engine.drivePort to transmission.drivePort;
}
«part»
vehicle : Vehicle
: Drive «part»
«part»
transmission :
engine: Engine
Transmission
drivePort : drivePort :
DrivePort ~DrivePort
SimpleVehicleModel
VehicleConfigurations
VehicleConfiguration_a
SysML
Standard KerML
Definitions
Libraries Libraries
VehicleConfiguration_b
SI ScalarValues
VehicleAnalysis «import»
Requirements PartsTree
ISQ ScalarFunctions
VehicleVerification
ActionTree States
14 13 Dec 2021
Model Organization [2 of 3] SST
A hierarchy of packages, where packages can contain other packages and elements
Packages are namespaces that contain member elements that may be owned or unowned
A package can import members of another package as unowned members, where deletion
semantics do not apply, and they can be referred to by their unqualified name
¡ Nested import notation enables flexible organization
SimpleVehicleModel
SysML Standard
VehicleConfigurations Libraries
VehicleConfiguration_a
«import»
SI
Definitions
«import»
ISQ
VehicleConfiguration_b
VehicleAnalysis
KerML
Libraries
Requirements PartsTree
«import»
VehicleVerification ScalarValues
ActionTree States
«import»
ScalarFunctions
ScalarFunctions
15 13 Dec 2021
Model Organization [3 of 3] SST
A hierarchy of packages, where packages can contain other packages and elements
Packages are namespaces that contain member elements that may be owned or unowned
A package can import members of another package as unowned members, where deletion
semantics do not apply, and they can be referred to by their unqualified name
¡ Nested import notation enables flexible organization
SimpleVehicleModel
SimpleVehicleModel
SysML Standard
VehicleConfigurations Libraries
VehicleConfiguration_a
«import» SysML SI
SI Standard KerML
Definitions
Libraries Libraries
«import»
ISQ
VehicleConfiguration_b
ISQ
SI ScalarValues
VehicleAnalysis «import»
KerML
Libraries
Requirements PartsTree ScalarValues
ISQ ScalarFunctions
«import»
VehicleVerification ScalarValues
ScalarFunctions
ActionTree States
«import»
ScalarFunctions
ScalarFunctions
16 13 Dec 2021
Definitions Package SST
Definitions
…
17 13 Dec 2021
Import Notation SST
18 13 Dec 2021
Element Names SST
B::C
A::B::C «part def»
C
B
«part def»
«alias» SUV
19
13 Dec 2021
Module 2
Definition Elements
attributes
¡ A modular unit of structure mass:>ISQ::mass
dryMass
cargoMass
electricalPower
position
velocity
acceleration
...
ports
pwrCmdPort
...
vehicleToRoadPort
perform actions
providePower
provideBraking
...
controlDirection
exhibit states
vehicleStates
21 13 Dec 2021
Other Kinds of Definition Elements SST
Terminology
Each kind of definition element can contain specific kinds of features
¡ Attribute definition
§ Data type that defines a set of data values
«attribute def»
§ Primitive attribute definitions include integer, Real, Complex, Boolean, String, …. Real
§ Can include quantity kinds such as Torque with units «attribute def»
Torque
§ Can include complex data types such as vectors
«port def»
¡ Port definition ~ ~ FuelCmdPort
directed features
§ Defines a connection point on parts that enable interactions in item fuelCmd:FuelCmd
§ Contain kinds of features including directed features with in, out, and in/out attributes
x:Real
§ Ports can be conjugated (i.e., reverse direction of directed features) «item def»
FuelCmd
¡ Item definition
§ Defines kind of entity that may be acted on, such as a flow, or a stored item «item def»
Fuel
22 13 Dec 2021
Specialization SST
«part def»
Axle
attributes
mass
«part def»
FrontAxle
attributes
inherited ^mass
new steeringAngle
23 13 Dec 2021
Redefinition and Subsetting SST
«part def»
An inherited feature can be subsetted by one Engine
or more features with a more constrained parts
cylinders:Cylinder [4..8]
multiplicity
¡ The Engine4Cyl contains a subset of the
cylinders contained by Engine «part def»
Engine4Cyl
¡ First redefine multiplicity to 4 parts
cylinders [4] redefines cylinders
¡ Then identify the subsetting features cylinder1 [1] subsets cylinders
cylinder2 [1] subsets cylinders
¡ Symbol for subsets (:>) cylinder3 [1] subsets cylinders
cylinder4 [1] subsets cylinders
24 13 Dec 2021
Module 3
Usage Elements
26 13 Dec 2021
Enumeration SST
enums
§ Usage: attribute color1: Colors = Colors::blue; red
blue
green
¡ With units:
§ Definition: enum def DiameterChoices :> ISQ::LengthValue {
enum = 60 [mm]; «enum def»
DiameterChoices
enum = 70 [mm]; enums
=60 [mm]
enum = 80 [mm]; =70 [mm]
=80 [mm]
}
§ Usage: attribute cylinderDiameter: DiameterChoices = 80 [mm];
27 13 Dec 2021
Usage Elements Defined By SST
Default Definition Elements
A definition element is a subclass of the most general definition element in the
SysML v2 library (e.g., Part)
A usage element is defined by a definition element
¡ defined by is a kind of specialization
A usage element that is not provided a definition by the modeler is a subset of
the most general usage element in the library (e.g., parts)
Default part Default Part Definition
SysML v2 «part»
parts [0..*] : «part def»
Part
Library
defined by
::
part with «part» «part def»
definition vehicle_b:Vehicle Vehicle
28 13 Dec 2021
Module 4
Part Decomposition
Can create the equivalent of SysML v1 block decomposition using part definitions
¡ No part to part relationships in SysML v1
«part def»
Vehicle
30 13 Dec 2021
Parts Decomposition SST
31 13 Dec 2021
Parts Tree Reuse & Modification SST
Subsetting a Part
A part can be a subset of another part
¡ Equivalent to specializing a part
¡ Inherits the part decomposition and other features
¡ Can modify inherited parts and features through redefinition and subsetting
subsets
«part» «part»
vehicle_c:Vehicle vehicle_b:Vehicle
32 13 Dec 2021
References SST
A part can refer to other parts that are part of another decomposition
¡ Not composite (i.e., lifetime semantics do not apply)
¡ Bind the reference usage «part»
vehicle-trailer-system
«item»
fuel
33 13 Dec 2021
Multiplicity SST
«part»
bodyAssy:BodyAssy
34 13 Dec 2021
Module 5
Part Interconnection
«part»
vehicle_b:Vehicle
«part»
fuelTank:FuelTank
«item»
fuel:Fuel
«part»
rearAxleAssembly:AxleAssembly
p1 : FuelOutPort
fuel
p2 : ~FuelOutPort «part»
rearWheel1:Wheel
«part» «part» «part» «part» «part»
engine:Engine transmission:Transmission driveshaft:Driveshaft differential:Differential rearAxle:Axle
fuelCmd «part»
rearWheel2:Wheel
«part»
vehicleSoftware
engineStatus
«part»
vehicleController
36 13 Dec 2021
Interfaces [1] SST
A connection definition connects two usage elements (e.g., two parts)
An interface definition is a connection definition whose ends are compatible ports
¡ Can
contain item flows
¡ Can contain other kinds of features
«part»
fuelTank:FuelTank
«item»
«interface def» fuel:Fuel
FuelTankToEngine_IF
ports p1 : FuelOutPort
: FuelOutPort fuel:Fuel
:FuelTankToEngine_IF
: ~ FuelOutPort
37 13 Dec 2021
Interfaces [2] SST
Connecting a Wheel to a Hub
Wheel Fastener interface species a compatible
connection between a lug nut and shank
¡ Specifies attributes needed for a compatible connection
38 13 Dec 2021
Module 6
Variability
«variation»
«variation» «variation»
«part»
«part» «part»
engine
engine transmission
constraints
engine==engine::engine4cyl xor (engine==engine::engine6cyl and transmission==transmissionAuto)
13 Dec 2021
Selected Vehicle Configuration SST
«part»
vehicleFamily
«part»
vehicle_a
«part» «part»
engine=engine6cyl transmission=transmissionAuto
41 13 Dec 2021
Behavior
«action»
providePower : «action def»
ProvidePower
parameters parameters
in fuelCmd:FuelCmd :>> pwrCmd in pwrCmd:PwrCmd
^out torqueToWheels [*] out torqueToWheels:Torque [*]
44 13 Dec 2021
Action Decomposition SST
«action»
providePower
45 13 Dec 2021
Part Performs Actions SST
«part»
vehicle_b:Vehicle
perform actions
providePower
provideBraking
controlDirection «action»
providePower
«part»
engine:Engine «action» «action» «action» «action»
generateTorque amplifyTorque distributeTorque transferTorque
perform actions
generateTorque
46 13 Dec 2021
Module 8
Action Flow
«action»
providePower
=
«action» «action» «action» «action»
generateTorque amplifyTorque distributeTorque transferTorque
engineStarted
48 13 Dec 2021
Part SST
A part is a usage of a part definition
Part inherits its features from its definition
Inherited features can be redefined or subsetted, and new features can be added
«part»
vehicle_b:Vehicle
attributes
mass :>> mass = dryMass+cargoMass+fuelTank.fuel.fuelMass
redefined dryMass :>> dryMass=sum(partMasses)
cargoMass :>> cargoMass default 0 [kg]
new partMasses = ( ...
)
^electricalPower
inherited ^position
^velocity
^acceleration
ports
fuelCmdPort:FuelCmdPort :>> pwrCmdPort
vehicleToRoadPort :>> vehicleToRoadPort
wheelToRoadPort1:WheelToRoadPort
wheelToRoadPort2:WheelToRoadPort
perform actions
^providePower
^provideBraking
^controlDirection
exhibit states
^vehicleStates
49 13 Dec 2021
Input/Output Flows SST
A flow is a kind of connection that transfers items from a source output to a
target input
¡ A flow is a transfer that continues while the source and target actions execute
(this is the default)
¡ A succession flow is a transfer that only occurs after the source action ends and
before the target action starts
«action»
providePower
=
«action» «action» «action» «action»
generateTorque amplifyTorque distributeTorque transferTorque
engineStarted
50 13 Dec 2021
Controlling Actions [1] SST
A start action and done action represent the start and end of an action sequence
A succession asserts that the target action can start execution only after the
source action ends execution
A conditional succession asserts that the target action can start only if the guard
condition is true (if…then). If the guard is false, the target action cannot start
«action»
transportPassenger
[vehicleStarted]
«action» «action» «action» «action» «action»
unlockDoor openDoor enterVehicle closeDoor startVehicle
start
join1
fork1
«action»
driveVehicle
merge1
decision1
«action» «action» «action» «action»
openDoor exitVehicle closeDoor lockDoor [else]
«action» done
providePower [anotherDestination]
51 13 Dec 2021
Controlling Actions [2] SST
Control nodes are kinds of actions (with names) that control outgoing
successions in response to incoming successions
¡ Decision node
§ 1 incoming succession and 1.. many outgoing successions
§ One outgoing succession is selected based on the guard condition that is
satisfied (“else” condition is the complement of all other guard conditions)
¡ Merge node
§ The outgoing succession occurs when any of its incoming successions occur
join1
fork1
«action»
driveVehicle
merge1
decision1
«action» «action» «action» «action»
openDoor exitVehicle closeDoor lockDoor [else]
«action» done
providePower [anotherDestination]
52 13 Dec 2021
Controlling Actions [3] SST
¡ Fork node
§ 1 incoming succession and 1.. many outgoing successions
§ All outgoing successions occur when its incoming succession occurs
¡ Join node
§ 1.. many incoming successions and 1 outgoing succession
§ Outgoing succession occurs when all its incoming successions occur
join1
fork1
«action»
driveVehicle
merge1
decision1
«action» «action» «action» «action»
openDoor exitVehicle closeDoor lockDoor [else]
«action» done
providePower [anotherDestination]
53 13 Dec 2021
Controlling Actions [4] SST
Accept actions and send actions
¡ When a send action executes, it transfers an item to a target part
¡ When a triggering input item is received, an accept action executes and can
transfer the input item to another action
«action»
startVehicle
«part»
driver:Driver
«part»
vehicle:Vehicle
Driver and vehicle are
in a shared context
vehicleStart vehicleStart
«action»
startEngine
engineStartStatus engineStartStatus
54 13 Dec 2021
Module 9
States
«state»
vehicleStates : «state def»
VehicleStates
actions actions
entry
do
exit
56 13 Dec 2021
State-based Behavior [1] SST
States decompose into nested states (without regions, which were in SysML v1)
¡A parallel state decomposes into concurrent states
¡ A non-parallel state (default) decomposes into sequential/exclusive states
«state» «state»
operatingStates healthStates
vehicelOff «state»
«state» «state» «state»
on
off normal maintenance
do providePower
...
vehicleStart
[brakePedalDepressed]
/ send engineHealthStatus to driver
«state» «state»
...
starting
[vehicleStarted]
degraded
57 13 Dec 2021
State-based Behavior [2] SST
States can have entry, exit, and do actions that can refer to actions in action
trees or be defined locally
States can include constraints (i.e. SysML v2 state invariants)
«state»
operatingStates
«state»
on
«state» vehicleOff
entry performSelfTest
off
do providePower
exit applyParkingBrake
vehicleStart
assert constraints
[brakePedalDepressed] {electricalPower <= 500 @[W]}
/ send engineHealthStatus to driver
«state»
starting
do startEngine [vehicleStarted]
exit send engineStartStatus to driver
58 13 Dec 2021
Part Exhibits States SST
«part»
vehicle_b:Vehicle «state»
vehicleStates
perform actions «parallel»
«state» «state»
...
starting
[vehicleStarted]
degraded
59 13 Dec 2021
Module 10
Interactions
«part»
missionContext
perform action startVehicle
«part» «part»
driver:Driver vehicle_b:Vehicle
vehicleStart
engineHealthStatus
startEngine
engineStartStatus
61 13 Dec 2021
Module 11
Individuals
«part»
engine:Engine
«part»
vehicle_b:Vehicle : «part def»
Vehicle
attributes
vin:Integer
mass
«indvidual»
vehicle_b:Vehicle-1 : «Individual def»
Vehicle-1
attributes
vin :>> vin = 1
^mass
63 13 Dec 2021
Module 12
Timeslices & Snaphots
65 13 Dec 2021
Individuals Playing Different Roles SST
An individual can play different roles and have different configurations in different timeslices
§ Individual wheel (wheel-1) is left front wheel during vehicle_b_t1-t2 timeslice
§ Individual wheel (wheel-1) is right front wheel during vehicle_b_t2-t3 timeslice
«part»
vehicle_b:Vehicle
part «part»
leftFront:Wheel
«part»
rightFront:Wheel
redefine «indvidual»
vehicle_b:Vehicle-1
temporal
Individual timeslice
«timelice»
vehicle_b_t1->t2
«timeslice»
vehicle_b_t2->t3
decomposition
«individual» «individual»
individual leftFront:Wheel-1 rightFront:Wheel-1 individual
«individual»
rightFront:Wheel-2
«individual»
leftFront:Wheel-2
66 13 Dec 2021
Module 13
Expressions and Calculations
«part»
vehicle_b:Vehicle
attributes
mass ::>> mass=dryMass+cargoMass+fuelTank::fuel::fuelMass
dryMass :>> dryMass=sum(partMasses)
cargoMass :>> cargoMass default 0 [kg]
partMasses=(fuelTank.mass,frontAxleAssembly.mass,rearAxleAssembly.mass,engine.mass,transmission.mass,driveshaft.mass)
68 13 Dec 2021
Calculations SST
A binding is a kind of connection where both sides of the connection are asserted
to be equal at all times
¡ Symbol is «bind» or =
¡ If both sides are not equal, the model is invalid (e.g., 3=4) is invalid
¡ A tool could make both sides equal if the values are not the same
72 13 Dec 2021
Module 15
Constraints
74 13 Dec 2021
Constraint Expression [2] SST
«part def»
FuelTank «part»
fuelTank:FuelTank
constraints constraints
assert {fuelMass<=fuelMassMax} ^assert {fuelMass<=fuelMassMax}
«item» «item»
fuel:Fuel fuel1:>>fuel
75 13 Dec 2021
Constraint Definition SST
76 13 Dec 2021
Binding Constraints SST
«part»
context
«part»
«assert constraint» vehicle_b:Vehicle
sld:StraightLneVehicleDynamics
= «attribute»
/a_out
acceleration
power
«part»
=
engine:Engine
«attribute»
«assert constraint» power
= peakHorsePwr
fec:FuelEconomy
77 13 Dec 2021
Module 16
Requirements
«requirement def»
MassRequirement
doc The actual mass shall be less than
the required mass.
79 13 Dec 2021
Requirement Specification SST
A tree of requirements that contains nested requirement usages
¡ Requirement group can own or reference other requirements
¡ Subject of nested requirements is the kind of entity being specified
¡ Requirement features can redefine features of the requirement definition
«requirement» «requirement»
<2_1> city:FuelEconomyRequirementl <2_2> highway:FuelEconomyRequirement
assumption
80 13 Dec 2021
Satisfying a Requirement SST
«requirement group»
vehicleSpecification
subject v:Vehicle
«requirement»
<1> massReqt:MassRequirement «part»
vehicle_b:Vehicle
doc The actual vehicle mass shall be
less than the required vehicle mass. attributes
:>>mass = dryMass + fluidMass
:>>dryMass=sum(partMasses)
:>>fluidMass = 36 @[kg]
…
requirements
constraints
satisfy vehicleSpecification
^require {massActual<=massRequired}
massReqt.massActual = mass
assume {massFluid<=40 @[kg]}
massReqt.massFluid = fluidMass
81 13 Dec 2021
Module 17
Use Cases
A kind of case
¡ Subject of the use case (often the system of interest)
¡ Objective is to provide value to one or more stakeholders
§ Stakeholders are typically external to the system of interest referred to as actors
¡ Actions/steps performed by actors and subject are required to achieve the objective
¡ Include use cases are always performed as part of the base use case
«use case def» «subject»
TransportPassenger ^vehicle
subject vehicle:Vehicle
objective
doc Deiver passenger to destination
safely, comfortably, and within
accecptable time
^driver:Driver «use case» «actor»
transporttPassenger:TransportPassenger road:Road
83 13 Dec 2021
Module 18
Analysis Cases
«analysis» «analysis»
straightLineDynamics fuelEconomyAnalysis
85 13 Dec 2021
Trade-off Analysis SST
¡ Evaluate evaluation function for each alternative doc Select vehicle alternative with the engine
whose evaluation function returns the max value
§ Criteria are parameters of evaluation function
alternatives
§ Each criteria may require separate analysis vehicle_b_engine4cyl:>vehicleAlternatives
vehicle_b_engine6cyl:>vehicleAlternatives
¡ Rationale is a kind of annotation
calcs
:>> evaluationFunction {
in part vehicle:>vehicle_b;
return attribute eval:Real=EngineEvaluation
(vehicle.engine.mass,
vehicle.engine.peakHorsePower,
vehicle.engine.fuelEfficiency,
vehicle.engine.cost)}
86 13 Dec 2021
Module 19
Verification Cases
88 13 Dec 2021
Module 20
Dependency and Allocation
Relationships
«item»
supplier
marketSurvey
dependency
client «requirementGroup»
vehicleSpecification
90 13 Dec 2021
Allocation SST
A statement of intent that assigns responsibility
from one set of elements to another set of elements
¡ A kind of mapping (1 to n) «part» «allocate» «part»
torqueGenerator powerTrain
¡ Includes definition and usage
perform actions
generateTorque
¡ Can include suballocations
Examples «part»
«allocate» engine:Engine
¡ Actions to components
perform actions
¡ Logical components to physical components
generateTorque
¡…
91 13 Dec 2021
Module 21
Annotations
«part»
An Annotating Element is an Element that is used to provide vehicle_b:Vehicle
93 13 Dec 2021
Metadata SST
«part»
vehicle_b:Vehicle
«part» «part»
interior:Interior bodyAssy:BodyAssy
Safety
Safety Security Safety &
Parts
Parts Parts Security Parts
96 13 Dec 2021
Module 23
View & Viewpoint
ActionTree States
Include rendering
in view compartment
98 13 Dec 2021
SysML v2 Views and Diagrams SST
A view artifact (e.g., diagram, table, document) is a rendering of a set of model
elements that is specified by a view usage
¡ Frame represents a view that renders model elements which are exposed and filtered
¡ View definition (e.g., diagram kind)
¡ View name (e.g., diagram name)
¡ View content
view vehicle requirements : Requirements Tree
«requirement group»
vehicleSpecification
subject vehicle:Vehicle
text
The actual vehicle mass shall be less
than the required vehicle mass.
«requirement» «requirement»
[2.1] city:FuelEconomyRequirementl [2.2] highway:FuelEconomyRequirement
99 13 Dec 2021
SysML v2 Diagrams / Views SST
Compartments are views of the element represented by the node «part def»
Vehicle
Compartment names represent view definitions attributes
mass:>ISQ::mass
Standard compartments / view definitions dryMass
cargoMass
electricalPower
¡ List view of contained elements of a particular kind (e.g., position
velocity
attributes, actions, ports) acceleration
...
¡ List view of elements at the other end of relationships (e.g., ports
pwrCmdPort
perform actions
A compartment can be rendered using textual (e.g., list view) or providePower
provideBraking
graphical notation ...
controlDirection
«part»
Tire
Friedenthal S., Seidewitz E., A Preview of the Next Generation System Modeling
Language (SysML v2), Project Performance International (PPI), Systems
Engineering Newsletter, PPI SyEN 95 27 November, 2020