State Transition diagrams describe the logical transition of a system through various states of operation by representing states, the transitions that connect them, and the events that trigger transitions. The implementation aligns with the SysML representation.
The State Transition diagram is available for entities in the State class.
The State Transition diagram is a free-form diagram.GENESYS begins with a simple layout for the nodes but offers several layout options to choose from. Then you can customize node positions as desired. Individual lines can be repositioned as well. Drag the handle at the connection point with the node to control where the line connects to the node. Drag a handle at a bend in the line to move that line segment. Individual labels can be resized and moved along the lines.
States are an orthogonal approach to looking at the behavior of a system. Some systems are well suited to a state transition representation, and many individuals naturally think this way. Other systems are well suited to a behavioral representation, and many naturally think in this pattern. Ultimately, it's up to the team and the individual whether to use state, behavior, or both in their analysis and modeling. If both are used, then states, their transitions, and the related events are higher-level concepts that are realized by behavior. A view of how states and transitions fit into the greater language of MBSE is shown below.
For the state transition diagram:
The state transition diagram is opened on a State or a component / operational node with a root state. The diagram is a single-level diagram which displays all of the child states as rounded rectangles.
The lines between states are Transitions. Transitions are directional, exiting from one state and entering another. While states may have multiple transitions, transitions are limited to a single entry and a single exit.
Transitions are triggered by Events and serviced by Functions / Operational Activities. Though it is possible to display Transition information on the transition line using the connection icon profile, most commonly the transition information is not shown. Instead, the information displayed is some combination of the following:
The triggering event(s);
Events of type Call are written in the form EventName (condition), and the parentheses are written even if the condition is empty;
Events of type Signal are written in the form EventName (condition), but the parentheses are not written if the condition is empty;
Events of type Change are written in the form when condition;
Events of type Absolute Time are written in the form at condition;
Events of type Relative Time are written in the form after condition;
The guard condition shown in square brackets;
The function which services the transition (preceded by a /).
The state nodes themselves can optionally display the entry, exit, and do (root) functions related to them.
NOTE: |
A good reference for further information on state transition diagrams is chapter 11 of A Practical Guide to SysML: The Systems Modeling Language by Sanford Friedenthal, Alan Moore, and Rick Steiner (2012). |
In addition to the classic diagram options, the state transition diagram settings include:
The constructs and key entities tabs allow you to quickly develop your use case model, while the all entities tab enables you to relate your state transition model to the remainder of your system definition.
Constructs
Utilities
Key Entities
All Entities - all classes and entities in the system model, allowing you to drag any entity on top of a diagram node to establish relationships with the balance of your system model