CAGE User's Guide | ![]() ![]() |
Setting Up Calibrations
Before you can perform a calibration, you must set up the variable dictionary and models that you want to use.
Setting Up Variables
To set up the variables and constants that you want to use in your calibration:
The Variable Dictionary displays all the variables, constants, and formulas in a session.
There are two ways in which you can set up variables:
After setting up your variables and constants, you can export the variable dictionary to use in other calibrations.
Importing a Variable Dictionary
To import a variable dictionary:
tutorial.xml
file found in matlab\toolbox\mbc\mbctraining
and click Open.
This imports a set of variables and a constant. In our example, the variable dictionary contains
Your display should resemble the following.
Adding and Editing Variables and Constants
To add a variable for the spark angle:
SPK
as the name.
-5
as the Minimum and 50
as the Maximum.
The variable dictionary enables you to specify different names for the same variable, and also give descriptions of variables. For example, the variable spk
might be referred to as S
or spark
in other models.
To ensure that CAGE recognizes an instance of S
or spark
as the same as spk
, specify the aliases of SPK
:
The variable dictionary enables you to specify a preferred value for a variable. For example, in the preferred value of the variable, AFR
is set as the stoichiometric constant 14.35.
For more information about the variables, see Setting Up Your Variable Items.
![]() | What Are Feature Calibrations? | Setting Up Models | ![]() |