GoldSim provides a number of special reserved names, referred to as Run Properties, that can be directly referenced in expressions. Some Run Properties are associated with Elapsed Time. That is, they return information regarding the simulated elapsed time.
These can be found under the “Elapsed Time” folder:
The Elapsed Time Run Properties are described below:
Etime: This is the elapsed time since the start of the simulation. It has units of time.
RTime: This is the remaining time in the simulation (computed as total duration minus the elapsed time). It has units of time.
EYear: This is the integer number of average years that have elapsed since the start of the simulation (hence, at the start of the simulation, it is zero). For the purposes of the calculation, an average year is computed as 365.25 days. It is unitless.
EQuarter: This is the integer number of average quarters that have elapsed since the start of the simulation (hence, at the start of the simulation, it is zero). For the purposes of the calculation, an average quarter is assumed to have 365.25/4 = 91.3125 days. It is unitless.
EMonth: This is the integer number of average months that have elapsed since the start of the simulation (hence, at the start of the simulation, it is zero). For the purposes of the calculation, an average month is assumed to have 365.25/12 = 30.4375 days. It is unitless.
EDay: This is the integer number of days that have elapsed since the start of the simulation (hence, at the start of the simulation, it is zero). It is unitless.
EHour: This is the integer number of hours that have elapsed since the start of the simulation (hence, at the start of the simulation, it is zero). It is unitless.
EMinute: This is the integer number of minutes that have elapsed since the start of the simulation (hence, at the start of the simulation, it is zero). It is unitless.
ESecond: This is the integer number of seconds that have elapsed since the start of the simulation (hence, at the start of the simulation, it is zero). It is unitless.
Note: An example file which illustrates the use of Elapsed Time Run Properties (RunProperties.gsm) can be found in the General Examples/ Running folder in your GoldSim directory (accessed by selecting File | Open Example... from the main menu).