IncLocCost
Cost Related Statement
The IncLocCost statement increases the Location cost (positively or negatively) where the statement is defined in the Logic every time an Entity passes through that Location. Note that this statement can only be used for Locations and not for Routes.
Syntax
IncLocCost <expression>
Syntax Examples
IncLocCost 15
IncLocCost -15
Parameters
<expression>
The positive or negative amount to add to the Location's cost. This field cannot be blank.
Parameter Examples
In the following example, the Tuck Location, which has an hourly cost of 0, has its cost incremented by 5 every time an Entity passes through it.
IncLocCost 5
By examining the following table, you can see that the Truck Location's cost has increased to 315. This result is because 63 Entities passes through the Truck Location within the duration of the simulation, increasing the Location's cost by 5 each time.
Remarks
IncLocCost is valid in operation logic.