Resident variables

<< Click to Display Table of Contents >>

Navigation:  MODELS >

Resident variables

 

1. Resident time variables

 

A number of variables are permanently defined and are available for use in a model. Their value can be used directly in any variable expression of a model, and cannot be modified in assignment statements in the model. Their names are visible in any model, and can be used directly without being declared in a VAR declaration.

The following resident variables provide access to the time characteristics of the simulation of a model.

 

In addition to representing the present value of the simulation time in a model, the variable t can also be used as a regular reference to the value of time in expressions describing history functions in a model (see HISTORY).

 

2. Resident constants

 

A number of numerical and logical constants are permanently defined and are available for use in model descriptions. Their value can be used directly in any expression of a model. Their names are visible in any model, and can be used directly without being declared in a CONST declaration.

The following resident constants are defined: