-
Select a scenario.
- Optional:
If needed,
set up the parameters for your simulation.
Note:
To simulate models containing Modelica code, select
Store complete Modelica results in the
General tab of the
Execution Setup dialog box.
-
Click this command.
-
Perform one of the following:
The
Simulate and Generate Results dialog box
appears.
- Optional:
You can click
Preview to display and monitor the simulation
without storing the results.
- Optional:
By default, the current scenario is selected for simulation. If
you want to simulate all the scenarios, click
Select All Scenarios
in the dialog box.
This also deactivates the
Preview button.
-
Click
OK.
When the simulation is complete:
- If an error or warning is detected during the computation, the Incident
Diagnosis dialog box appears to let you understand,
analyze, and solve the problem. The diagnosis appears in the tree under Results of
Scenario. You can click Incident
Diagnosis
or double-click the diagnosis in the tree to open the Incident
Diagnosis dialog box.
- If you simulate and generate results for the first time, the
Result category appears in the
tree,
and a
Result of Scenario node is created for
each simulated scenario.
- A
Modelica Complete Result node is by default
displayed under the
Result of Scenario node for each scenario.
The node contains the complete result for all Modelica behaviors in the
scenario.
You can now
analyze the simulation results or
animate the model.