|
|
|
| R2011b Documentation → Model-Based Calibration Toolbox | |
Learn more about Model-Based Calibration Toolbox |
|
| Contents | Index |
You need to define the set of points where you want the optimization to run. In this case, you run the optimization over the table breakpoints in the tables. You already defined this in the Create Optimization from Model wizard. In this section you will also set up initial values for spark.
You can edit values manually in the Input Variable Values pane in the Optimization view, or you can import values from existing optimization output values, tables or data sets.
To import table initial values to your optimization, you will first create a feature to fill the S_Table from the MBT model. You can then use this table to initialize the starting values for your optimization.
To create the feature table,
Select File > New > Feature. CAGE switches to the Feature view.
Select Feature > Graphical Strategy Editor. Three Simulink windows appear.
In the CAGE project library window, double click the Tables block. The Tables library window opens.
Drag the S_Table table block from the Tables library to the New Feature window.
Click to select S_Table, then Ctrl+click the blue New_Feature block to connect the two.
Double-click the blue New_Feature block to import the strategy into CAGE.
In the Feature view, click the Select Model button.
In the Select Model dialog, select MBT and click OK.
Click Fill Feature in the toolbar. The Feature Fill Wizard appears.
Click Next three times, then click the Fill Tables button. Click Finish when the process has finished.
Expand the New_Feature node in the tree and select the S_Table node to view the filled table. In the comparison pane you can see where the table limits cause the values to diverge from the feature model at low load.
Click the Optimization button to return to the Optimization view.
Select Optimization > Import from Table Values.
Select the check box to import values for S, and select S_Table from the Fill Input With list. Click OK to import the table values of spark into the optimization initial values for S.
View the values in the Input Variable Values pane in the Optimization view. These values define the variable values at each point where you want the optimization to run. The fixed variable values are the table breakpoints, and the free variable initial values are the filled table values of spark, and the defaults (set point) for the other free variables.
![]() | Setting Up the Optimization | Running the 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 |