Note: the CalMin function is available only in the Professional edition of Process Simulator.
The CalMin() function corresponds to the minute of the calendar date you defined as part of the warm-up period or simulation begin date under simulation properties. It returns an integer that corresponds to the minute of the hour from 0 to 59, inclusively, where 0 denotes the first minute of the hour. Since this function ties directly to the 24-hour clock displayed during simulation, CalMin() will never return a value higher than 59. The function can be used in any logic. The function name must be followed by the pair of parentheses.
The following is an example of using the function:
If CalMin()=10 Then
{
<logic statements>
}
© 2015 ProModel Corporation • 556 East Technology Avenue • Orem, UT 84097 • Support: 888-776-6633 • www.promodel.com