GETCOST()
Returns the cost of the current entity executing the logic. Use this function to return the entity’s actual, accumulated dollar amount.
Operation logic only.
The following example shows how to use the GETCOST() function to generate a Time Series plot that tracks changing entity cost as entities exit the system. (See table below.)
Var1 = GETCOST()
Entity... |
Location... |
Opn (min)... |
EntA |
Shipping |
WAIT N(3,.52) Var1=GETCOST() |
Blk |
Output... |
Destination... |
Rule... |
Move Logic... |
1 |
EntA |
Exit |
FIRST 1 |
|
See Also
INCENTCOST, INCLOCCOST, and SETRATE.
![]() |
© 2012 ProModel Corporation • 556 East Technology Avenue • Orem, UT 84097 • Support: 888-776-6633 • www.promodel.com |