No Magic is delighted to introduce a new internal simulation clock designed to precisely control simulation time.
The clock settings, such as start time, end time and time step can easily be configured using new options in the Execution Configuration. Clock implementation is based on UML run-to-completion semantics and internal completion events. The run-to-completion step (e.g., entry activity) is atomic, that is, the clock is paused and waits for completion in contrast to a previously used PC clock which does not wait.
After all threads triggered by the time events are complete, the clock is notified to begin again. This new clock implementation guarantees precise timing in all timelines, plots and recorded timestamps.
Timelines For Activities
Also introduced is a new Timeline plot showing what Activities objects are performing in time.
The Timeline config now has a "mode" option, allowing users the ability to select "state" or "activity."
FMI Import and Co-Simulation (beta)
Simulation models from other tools exported to the FMI standard (.fmu files) can be represented as SysML Blocks by dropping files to BDD diagrams. If a .fmu file contains a compiled executable for a user’s platform, Cameo Simulation Toolkit is able to run it – just by specifying the start and end times in our new config options (see Clocked Experiments).
Many FMU blocks can be connected into an assembly in IBD diagrams and co-simulated.
ALF Action Language Support (beta)
The Alf Plugin for MagicDraw® implements the OMG® standard Action Language for Foundational UML (Alf). Alf is a textual action language that may be used to code the behavior of activities or specify opaque expressions, actions and behaviors within an overall UML model. The Alf Plugin contains a compiler for Alf that translates textual Alf code into a UML activity model that can be executed using Cameo Simulation Toolkit.
Beyond simulation, Alf can also provide the basis for compiling Executable UML models into complete production systems, such that the execution semantics of the system as simulated in a UML tool, are the same as those of the compiled production system. This provides the basis for an environment of analysis and testing tools that can extend from early models of a system consistently through model-based simulation and into production.
The ALF compiler is available in Resource Manager as separate free plugin, compatible with MD 18.0 or later.
Execution of the Use Cases
Additionally, the Run button is also available in Use Case diagrams. You can use the Run button to simulate an entire diagram or a selected Use Case.
When running an entire diagram, automatically generated User Interface windows will be displayed for every Actor. The window contains buttons with the use case names representing what an Actor can do. Clicking the button runs a corresponding classifier behavior of the use case - normally an Activity.