Generate a model and control

You must first setup and run the test and then select the data that you want to use to create the model.

  1. In the trend graph, drag the left and right green bars over the data that you want to use to create the model. You can exclude a portion of the data within the green area.
    Another way to select the data that is used to create the model is to right-click, and then select the Place Left Green Bar and Place Right Green Bar commands.
  2. You can also create a model from data stored in a valid MPC data file format. To use a data file, select File → Autogenerate From File, and then browse to the desired data file.
  3. Select any integrating control or constraint parameters.
  4. Click Autogenerate.
    A model and control is created from the selected data and the model is automatically assigned to the MPC block. Download the controller to put the model online.
    Note

    Be sure that the module containing the MPC function block is not open in Control Studio when you click Autogenerate because the block is updated during autogeneration.

  5. The application displays a model matrix showing all step responses for the model. Double-click a response in the matrix for a more detailed view. If you want to edit a response, drill down to the response that you wish to edit. You must be an expert user to edit a response.

In Expert mode, the Create Model button is available. Click this button to automatically create and display a model only from the selected data. The model is not assigned to the block and no control is generated. If you are using file data, select File → Create Model from File.