Skip to Main Content Skip to Search
Product Documentation

Defining Variable Values

You need to define the set of drive cycle points where you want the optimization to run. To do this you use the Input Variable Values pane in the Optimization view.

  1. Increase the Number of runs to 7. Click the buttons or enter the value in the box. The number of rows in the fixed and free variables panes increases to 7. The default values are the set point of each variable. Leave the initial values for the free variables at the defaults.

  2. You can enter or copy values into the Fixed Variables pane to define the fixed variable values at each point where you want the optimization to run. You can copy all the variable values from a text file, or from the Help Browser copy each column in turn. Copy and paste the following values into the measrpm column in the Fixed Variables pane.

    measrpm

    2200

    2200

    2200

    2200

    1600

    1600

    1600

  3. Copy and paste the following values into the tq_desired column in the Fixed Variables pane.

    tq_desired

    1263

    947

    632

    126

    1550

    1163

    775

  4. Copy and paste the following values into the afr_min column in the Fixed Variables pane.

    afr_min

    25.5

    27.75

    30.0

    0

    22

    22.5

    23

    The Fixed Variables pane should look as shown. You have specified the speed and torque values you want for each run, and also the minimum air/fuel ratio (AFR) at each N, TQ point.

    If you wished to constrain the free variables more than the range defined in the variable dictionary, you could select Optimization > Edit Free Variable Ranges. Leave the defaults for this problem.

  


Recommended Products

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