Before running checks using Performance Advisor, complete the steps in these sections:
|On this page…|
Before creating the baseline, make sure the model configuration parameters are set to enable data logging using the Structured with time format.
In the model, select Simulation > Model Configuration Parameters.
In the Configuration Parameters dialog box, click Data Import/Export in the left pane.
Set Format to Structure with time.
Set up signal logging. The model must log at least one signal for Performance Advisor to work. For example, select the States or Output check box.
Click Configure Signals to Log and select the signals to log.
Click OK in the Configuration Parameters dialog box.
Run the model once to make sure that the simulation is successful.
After you have enabled data logging, you can create a baseline measurement.
A baseline measurement is a set of simulation measurements that Performance Advisor measures check results against.
Note: Before creating a baseline measurement, ensure that you Enable Data Logging for your Model.
In the model, select Analysis > Performance Tools > Performance Advisor to start Performance Advisor.
In the left pane, in the Baseline folder, select Create Baseline.
In the right pane, under Input Parameters, enter a value in the Stop Time field for the baseline.
When you enter a Stop Time value in Performance Advisor, this overrides the value set in the model. A large stop time can create a simulation that runs longer.
If you do not enter a value, Performance Advisor uses values from the model. Performance Advisor uses values from the model that are less than 10. Performance Advisor rounds values from the model larger than 10 to 10.
Select the Click to view baseline signals and set their tolerances check box to start the Signal Data Inspector after Performance Advisor runs a check. Using the Signal Data Inspector, you can compare signals and adjust tolerance levels.
Click Run This Check.
When a baseline has been created, a message like the following appears under Analysis:
After the baseline has been created, you are can run Performance Advisor checks.