The Cameo Simulation Toolkit version number is now synchronized with the latest compatible MagicDraw version number (17.0.1). We recommend that you uninstall Cameo Simulation Toolkit 1.1 Beta 2 before installing Cameo Simulation Toolkit 17.0.1
The latest release brings up the following features:
- Composite Structure Diagram Support – Signals on Ports and Connectors
- Time Series Chart
- Sequence Diagram as Execution Trace
- Execution of BMPN, UPDM, and other high level activities
- Other features
You can now model and execute completely encapsulated and independent components, as well as internal behaviors, since you do not need to know “external” signal targets anymore. Signals can be sent to owned ports.
While using SendSignalAction, use the context classifier of this Activity as “target” and set the “onPort” property by referencing a port on the context classifier.
An execution engine is capable of analyzing a composite structure (that is, your system assembly) to find runtime signal target objects at the opposite end of a Connector attached to this port.
When multiple connectors are attached, signal copies will be sent to multiple targets.
You can even switch to other target by attaching a connector end to another port in the middle of the execution!
For more details, see the Stereo System example, which can be found in the <MagicDraw installation directory>\samples\simulation folder.
Now you can monitor runtime value changes in time using the time series chart.
Open the shortcut menu of any numeric value in the Variables panel and select the Show in time series chart command.
The predefined chart configuration can be created in Simulation Configuration Diagram and used as nested panel in other mockup configurations:
For more details, see the Cruise Control example, which can be found in the <MagicDraw installation directory>\samples\simulation folder.
Cameo Simulation Toolkit 17.0.1 introduces the execution events visualization as a Sequence Diagram.
Select any runtime Object (whose type is Class) in the Variables panel and, from the selected object’s shortcut menu, choose the Create Sequence Diagram command. You may do this at any time during the execution. From this point, all signals and operation calls between parts of this Class (presented as lifelines) will be represented using send and call messages with timestamps.
Cameo Simulation Toolkit 17.0.1 loosens some fUML standard constraints and allows an execution and animation of any “business level” abstract activities, including UPDM and BMPN diagrams.
Besides time series charts, Cameo Simulation Toolkit adds more timing-related features:
- Clock ratio allows for specifying the simulation and model clock ratio in the execution configuration specification window. It allows for simulating long time periods such as months or years. Likewise, it can slow down the time in the embedded systems simulation. For more details, see Joystick example, which can be found in the <MagicDraw installation directory>\samples\simulation folder.
- Time variable specifies the time variable name and units in project options. Use it in your expressions, including time functions in parametrics.
- Variables in time event expressions allow for building reusable parameterized clocks.
New Execution Configuration properties
- Autorun. If selected, starts execution automatically from the main MagicDraw toolbar without additional clicks in the Simulation Console.
- Autostart Active Objects. If selected, automatically and recursively starts behaviors of all nested system parts typed by active classes (isActive=true).
New Environment options
- Auto open diagrams option allows or prevents automatic diagram opening during animation.
- Last visited color for animation allows for specifying a different color for the last traversed path.
- Engines priority allows for ordering of the engines. This option should be used with custom execution engines for the same target element or diagram type.
- Use fully qualified names in SCXML export solves identification problems in SCXML when you have several internal states with the same name.
Simulation window improvements
- The Lock button freezes all Simulation window panels from any further updates during the execution. It helps to improve whole simulation performance on short cycles.
- Recursive simulation sessions termination or suspend function has been implemented. Termination of the main session terminates all running sessions.
- Use an input line to evaluate any expressions and check variable values while debugging.
- Drop any behavior onto the State or Transition symbol on a diagram to create an entry/do/exit/effect behavior.
- All mandatory pins for actions are created automatically. Just use the Display Pins command from the shortcut menu to display them. You can turn off this feature in environment options.
- Drop a signal on a User Interface diagram components to create a Button symbol.
- Drop any classifier property on the Frame symbol to create a Label symbol.