Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The parametric animation capability in Cameo Simulation Toolkit improves the parametric simulation debugging experience for modelersallows debugging parameters through Breakpoints. It is especially helpful when working on a project projects with a large number of elements or a project with a parametric pattern parametric patterns that are applied recursively. Using the parametric animation allows for reduction in animation delay, usually present due to hundreds of objects running the same parametric diagram at the start of a simulation. This section uses the sample model SpacecraftMassRollup_184.mdzip to show how parametric animation can provide better debugging facilities to minimize delay by focusing only on the results of the simulation.

 

 Overview of the parametric animation debuggingImage Removed

 

Overview of parametric animation debugging.

To debug a parametric with animation

...

 

The margin (dff) is not calculated in advance since the breakpoint existsImage Removed

Margin (diff) is not calculated in advance since breakpoints exist.

Value updates via either the variables panel or classifier behavior and propagation on binding connectors or solving will be activated and animated at all times, from the very first time the simulation starts. See also the "Fire value change event" option.

 

Image Removed

After updated the value 'ma', solving is reactivated.

Sample model

The model used in the figures on this page is the SpacecraftMassRollup_184 sample model that comes with the modeling tool.

To open this sample, do one of the following

  • Download SpacecraftMassRollup_184.mdzip
  • Find in the modeling tool <modeling tool installation directory>\samples\simulation\SpacecraftMassRollup_184.mdzip.

Because parameters usually run at the maximum speed (without delay) regardless of the

...

Animation Speed settings (see also SimulationConfig), you must set Breakpoints to monitor values.

In the figure below, Simulation pauses at the margin breakpoint in the Parametric diagram in which you can debug the model. You can also find the sample model of parametric debugging on the Welcome screen by going to the Simulation sample group and selecting SpacecraftMassRollup.


Image Added

Debugging parameters of the SpacecraftMassRollup built-in sample.