Built-In Variables

<< Click to Display Table of Contents >>

Navigation:  Model Definition > Ventity Language >

Built-In Variables

Previous pageReturn to chapter overviewNext page

 

 

Relative Time Values

 

Every Ventity model automatically includes a single Model entity called Model. Defined in that entity are four variables:

 

Initial Time

The model time at the start of the simulation.

Final Time

The model time at which the simulation ends.

Time

The time variable for the model.

Time Step

The duration of one time slice. The amount by which time advances during each calculation round.

 

The values of the four variables are determined by the Run Configuration. Other entities can access these variables through the model entity. So, to use Time in an equation, you would enter "Model.Time". To use Final Time, enter "Model.Final Time."

 

 

Collections

 

Count

The number of entities in a collection at the beginning of each time slice. (Built-in variable in all collections)