Creating a Model Identifier
Variables created using the Model Identifiers interface will be initialised as soon as the model loads. You can change the value of these variables at any point during run-time.
If you do not plan to use a particular variable as soon as your model loads, you should instead use an expression to Initialise that variable later during run-time.
Implementation:
- Select the Model menu.
- Click Model Identifiers > Manage Identifiers to open the Model Identifiers dialog.
- Make sure the Variables panel is selected.
- Click .
Alternatively, click Add to create an identifier.
- Enter a unique Name to act as the variable's keyword.
- (Optional) Enter a Description to explain the variable's purpose.
- (Optional) If you want the variable to have a specific value when it is initialised, switch to the Initial Value tab and enter that Value in the field provided. If you don't do this, the variable will be initialised with a value of 0.
Initial Value will be replaced with Value when you add a constant.
- Click OK.