Products & Services Solutions Academia Support User Community Company

Learn more about Model-Based Calibration   

How to Set Up a Point-by-Point Model

Point-by-Point Modeling Process

Use the following process to set up a point-by-point model:

  1. Create a new test plan.

    1. From the project node, click New to create a new point-by-point test plan.

    2. Select the Point-by-Point template and click OK.

    This template allows you to create point-by-point test plans with local models at each engine operating point, which is useful when testing is done at fixed operating point settings. See Use Cases for Point-by-Point Models.

    The new test plan sets up two local and two global inputs, and the local model type is set to Multiple Models. This local model type allows you to choose a variety of models to try for each test.

  2. Set up the inputs by double-clicking the Inputs blocks in the test plan diagram. See Input Factor Setup.

  3. Set up the multiple model types. By default, point-by-point test plan templates include four model types: a quadratic, a cubic, an RBF and a hybrid RBF. If you want to change or add to these, double-click the Local Model block in the test plan diagram, and then click Edit in the Local Model Setup dialog box. The toolbox fits all the models you choose and then indicates the best one chosen for each test in your data. For example, for some tests a radial basis function may fit best, while for others a quadratic would be acceptable. You can use any model available as one-stage models (including radial basis functions (RBF) and hybrid RBF).

    The Automatic input ranges check box defaults to selected. This selection uses the range of the data for each test, instead of a single range for all. You can choose any of the summary statistics as the selection criteria for deciding which model fits best to each test.

    For more information see Local Model Class: Multiple Models.

  4. Select data to use. From the test plan node, select TestPlan > Select Data which opens the Data Selection Wizard. Load a data file (see Loading Data from File) then match up data signals with model inputs and outputs (see Step 2: Select Input Signals).

    You can click Finish on the Input Names pane: there is no need to build response models before building boundary models. Alternatively, you can continue with the Data Selection Wizard to specify any responses you want to model.

  5. Create boundary models in the Boundary Editor. Select TestPlan > Boundary Models. To build point-by-point boundary models for each operating point, create a local boundary model, and select Point-by-Point for the Global evaluation type. See Creating Boundary Models.

  6. If you have not already built response models, from the test plan node, double-click the Response block to choose a response and fit models.

    The view switches to the new Multiple Models node in the model tree. View and edit the local model fit for each operating point.

    Tools specific to local multiple models are described in Analyzing Point-by-Point Models.

    For details about other functionality available for viewing and refining the model fit, see Local Level and Selecting Models.

  7. Export your point-by-point models to CAGE for optimized calibration. From the test plan node, select Test Plan > Export Point-by-Point Models.

    If CAGE is open, you can also use the dialog box options to automatically create the following objects from your point-by-point models:

    • Data set

    • Tradeoff

    • Optimization

    See Exporting Point-by-Point Models to CAGE.

      Note   This export option is only available if you have exactly two global inputs; otherwise you can import your point-by-point models into CAGE using the CAGE Import Tool.

Use Cases for Point-by-Point Models

The point-by-point test plan template and the local multiple models type provides a convenient mechanism to model a number of tests at different operating points using the same set of models. Using the test plan has several advantages, including:

Analyzing Point-by-Point Models

In the local model view, you find controls and menu items specific to point-by-point models (using the Multiple models local model type).

Exporting Point-by-Point Models to CAGE

If you have exactly two global inputs, you can export point-by-point models from the Test Plan node in the Model Browser by selecting TestPlan > Export Point-by-Point Models.

You can create the following items in CAGE (depending on your check box selections in the dialog box):

You can also import the point-by-point models directly into CAGE from the Model Browser using the CAGE Import Tool. If you have more than two global inputs you must use the Import Tool.

  


Recommended Products

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.

 © 1984-2009- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS