Defining Logic > Functions > Functions

Functions

Functions return information about the objects in your simulation, as well as the simulation itself. For example, you may use functions to obtain the simulation clock time, an activity's capacity, or a random number. Not all functions are available with every statement.

 

There are three types of functions in Process Simulator: System Functions, Math Functions, and Calendar Functions.

Note: the GetReplicationNum and Location sytem functions are available only in the Professional edition of Process Simulator, and all of the Calendar Functions are available only in the Professional edition of Process Simulator.

System Functions

Clock GetResRate
DownQty GroupQty
Entity Location
Entries ObjectID
FreeCap OwnedResource
FreeUnits ResQty
GetCost TimesUsed
GetReplicationNum  

Math Functions

Exponential Round
Natural Logarithm Square Root
Random Truncate

Calendar Functions

CalDay CalMin
CalDOM CalMonth
CalHour CalYear

© 2016 ProModel Corporation • 556 East Technology Avenue • Orem, UT 84097 • Support: 888-776-6633 • www.promodel.com