Scenario Section

The Scenario section provides commands for defining, managing and simulating a scenario, including probe handling.

This page discusses:

New Scenario
Adds or edits a scenario to an existing behavior experiment.
Beforehand, create or open a behavior experiment.
See Adding or Editing a Scenario.
Edit Probes and Excitations
Displays the Scenario Content Definition window to add or edit probes and excitations.
See Working with Excitations and Probes.
Simulation Setup
See Flyout for Simulation Setup
Import Initial Steady State from Result
See Flyout for Steady State
Create Camera Viewer
See Flyout for Probes
Simulate and Generate Results
Simulates and generates results.
See Simulating and Generating Results and Simulating in a Preview Mode
Incident Diagnosis
Displays incident diagnosis.
See Viewing Computation Incidents
Plot Numerical Results
See Flyout for Plot and Animation
Generate File from Results
See Flyout for Export

Flyout for Simulation Setup

Simulation Setup
Defines the preferences of a virtual execution.
In the Simulation Setup dialog box, select the tab corresponding to the preferences to be customized and set the desired preferences.
See Simulation Setup Dialog Box.
Behavior Selection
Selects a behavior in a multi-behavior model.
Select a scenario and click Behavior Selection. In the dialog box, select the required behavior.
See Selecting a Behavior in a Multi-Behavior Model.

Flyout for Steady State

Import Initial Steady State from Result
Creates and modifies the initial steady state of a scenario by importing the results from another scenario.
The selected entity must be the result of a simulation where the variable names coincide with the parameter or state variable names of the current model.
See Importing and Modifying Initial Steady State Values from Result.
Create Steady State Probe
Creates a steady state probe.
A steady state probe is used to record the values of all variables for a selected time point.
See Creating Steady State Probes.

Flyout for Probes

Create Camera Viewer
Attaches a camera to a 3D shape.
Camera viewer probes are not included in the Behavior Experience app. To use them here, any app containing the 3D Animation app must be installed.
See Creating Camera Viewer Probes.
Interference
Defines an interface probe that detects clashes between products in a mechanism.
To detect when two parts move within a specified clearance distance of each other, select the Clearance check box in the Specifications tab and enter a clearance value.
See Interference Probes.
Measure Probe
Defines a measure probe that tracks distances and angles in a mechanism.
Select the type of measure to track in the probe and the calculation mode.
See Measure Probes.

Flyout for Plot and Animation

Plot Numerical Results
Plots numerical results.
Click the command and then click a watchlist result.
See Creating Plots Using Watchlists.
Animate Result
Replays the animation of a 3D logical model from the results or from the Modelica complete results.
Click the command, then click a result node or a Modelica complete result node.
See Replaying an Animation.
Simulation Analysis
Starts simulation analysis on current result
See Simulation Analysis: Analyzing Numeric Intergration and Events.

Flyout for Export

Generate File from Results
Exports results data from a simulation to a text file.
The file is saved in a document in the Result category and is stored in the database with the simulation.
See Generating File from Results.
Export Scenarios and Results
Exports experiment data from a simulation to a .xml file with .csv and log files.
Select the convenient folder to store the exported files. The name of the exported files is the name of the simulation object.
See Exporting Scenarios and Results.
Export Simulation Results
Exports simulation results to file.
To export simulation results to file in Matlab (.mat) format or Scientific Data Format (.sdf), click the command and then, click a Modelica Complete Result node in the tree.
See Exporting Simulation Results.