CAGE User's Guide | ![]() ![]() |
Optimizing Table Values
Optimizing the table values minimizes the current total square error between the table values and the model.
This routine improves the fit between your strategy and your model. Using Fill places model values directly into your table; whereas the optimization process can shift those values up and down to give the least overall error between the interpolation between table values and the model surface. You should use Fill first to place model values into your table -- this gives the optimization routine a good starting point.
This process is illustrated by the following example; the green shaded areas show the error between the mesh model (evaluated at the number of grid points you choose) and the table values.
To see the difference between optimizing table values and optimizing the positions of breakpoints, compare with the illustration in Optimizing Breakpoints.
For an example of optimizing table values, say you have a model of the spark angle that produces the maximum brake torque (MBT). The model has inputs engine speed, N, relative air charge, L, and air-fuel ratio, A. The strategy that you are using to calibrate the MBT feature has an N-L table and a table to account for the variation of MBT over the range of A.
For example, a model for MBT might have a range of values from 20 degrees to 35 degrees. Running the optimization routine when most of the cell values are outside this range (say if your table is filled with 0s), is very time consuming.
14.3
and the Number of points is 1
. The mesh approximates the value of the model at only one value of A.
CAGE evaluates the model over the number of grid points specified, then calculates the total square error between this mesh model and the table values.
CAGE adjusts the table values until this error is minimized, using lsqnonlin
.
When optimizing the table values, it is worth noting the following:
See Also
![]() | Filling Table Values | Filling the Table by Extrapolation | ![]() |