Show / Hide Table of Contents

IncEntCost


Cost Related Statement

The IncEntCost statement increments the Entity price (positively or negatively) by a given amount. ProModel increments are the Entities that enter the Location or Route where this statement is included in the Logic.

Syntax

IncEntCost <expression>

Syntax Examples

IncEntCost 15
IncEntCost -15

Parameters

<expression>

The positive or negative amount to add to the Entity's cost. This field cannot be blank.

Parameter Example

The following example increments the Entity cost at the Assembly Bench Location and displays the Entity cost at the Locations before and after.

IncEntCost 5

When the Entity enters the Work Bench 1 Location, the Entity cost is 0, which is the Entity's initial cost. After passing through the Assembly Bench Location and entering the Truck Location, the Entity's cost has increased to 5.

IncEntCost Example 1


IncEntCost Example 2


IncEntCost Example 3

Remarks

When working with new Entities created through a Route statement, use IncEntCost to assign an initial Entity cost. Initial Entity cost defined for an Entity in the cost module applies to entities entering the system through a scheduled arrival, the Create statement, or the Order statement.

IncEntCost is valid in operation and move logic.

In This Article
Back to top Generated by DocFX