主要内容

Fill a Single Lookup Table from a Model

You can fill a single lookup table from a model evaluated at the table breakpoints.

  1. Open the Lookup Table Fill Wizard.

    • With the table selected in the Lookup Tables view, select Table > Fill.

    • Alternatively, click the Fill toolbar button .

    The Lookup Table Fill Wizard opens.

    Lookup table fill wizard for SA_Table.

  2. From the Filled by list, select the model that you want to fill the table with.

    Filled by selection dialog box.

  3. Set Input data to Grid.

    Click Setup to create a constraint. Constraints filter rows from the input data to restrict the values that CAGE uses to fill the feature. By default, the toolbox sets Constraint to the boundary model associated with the main model to use the data points within the boundary. You can also define a function model to use as a constraint.

    Click Next.

    Input data source options.

  4. Connect model and feature inputs. Use results from lookup tables as inputs by connecting tables to inputs. Connect variables that describe the same quantities. Click Next.

    Connect Inputs view in the Lookup table fill wizard.

  5. If you do not connect the model and feature inputs prior to clicking Next, the input grid values are set to an average fit over all values.

    Look up table fill wizard input grid values when model and feature inputs are not connected.

    If you connect the model and feature inputs, the input grid values are set to the breakpoints of the table values. Click Finish.

    Lookup table fill wizard input grid values when model and feature inputs are connected.

  6. In the Lookup Table view, the black dots represent the filling data. Evaluate the fit of the block dots on the lookup table surface.

    Lookup table surface

    For more detailed plots of the data fit, navigate to the right side of the Lookup Table view and double-click the feature under Used in to open the Feature view.

    Used in view

    In the Feature view, go to the Validation tab. From Plot types, select plots to evaluate the fit.

    Validation tab in feature view.

See Also

Topics