|
|
|
| R2011b Documentation → Model-Based Calibration Toolbox | |
Learn more about Model-Based Calibration Toolbox |
|
| Contents | Index |
You have defined objectives, constraints and a set of operating points. Your optimization is ready to run.
Click Run Optimization in the toolbar.
When the optimization is complete, the view switches to the new child node, BTQ_Optimization_Output, in the Optimization tree under the BTQ_Optimization node. View the results.
Look through the solutions at different operating points by clicking cells in the Results table or contour plot. Regions that do not meet the constraint are yellow in the plots and tables.

Because this is a single-objective optimization, there is only one solution at each point.
Observe the colored icons that indicate the Accept status of each solution plotted in the Results Contour view, and of each corresponding row in the Optimization Output Values table.
CAGE automatically selects the Accept check boxes in the table for solutions where the algorithm exit flag indicates success (>0). These solutions show a green square icon in the table and surface. CAGE also highlights unsuccessful solutions for you to investigate.

Click in the table or contour view to select solutions, and other plots (such as the Objective Contours and Objective Graphs) update.
Right-click the title bar of the Results Contour view and select Current View > Results Surface. Observe the Accept icons for the solutions.

Examine the orange triangle Accept status solutions. This indicates the algorithm exit flag is zero. This means the algorithm terminated because it exceeded limits on the amount of computation allowed (e.g., the algorithm ran out of iterations or function evaluations). You could decide to accept these solutions or you could try changing tolerances and optimizing again. Do not edit any check boxes yet.
Use the plot title bar buttons to split views, or right-click the title bar and use the context menu to try all the available views for analyzing your results. The Objective Contour plot of ECP against ICP is useful for analyzing results. Also check the Objective Graphs for spark to ensure that maximum torque is obtained.

Export all acceptable results to tables to check surfaces. Click Fill Tables in the toolbar and use the wizard. If you need instructions, see Filling Tables with Optimization Results.
Check trends, and don't worry about smoothness. You will apply table gradients constraints to smooth the table surfaces in the next optimization.
You can change the Accept selections using the check boxes for each solution, or by right-clicking points in the surface view. You can use these Accept selections to choose solutions within the table for use in filling tables, exporting to data sets and importing to other optimization starting values.
![]()
Reject points 22 and 32 (clear the check boxes). The points are in the wrong region with respect to adjacent points in the table. Solutions where you have altered the check box status show an asterisk in the table and a star in the Results Surface or Contour plot.

If you are displaying the Objective Contours plot, you may want to turn off the display of constraints in the plot before running the next sum optimization or viewing the output node for the sum optimization. This will save time displaying the output views. Right-click the contour plot and toggle Display Constraints off. Alternatively close the Objective Contours plot.
![]() | Defining Variable Values | Setting Up the Sum Optimization | ![]() |

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.
| © 1984-2012- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |