Eliminate Decision by Increasing Weight Percentages

Description

Eliminate a Decision by Increasing Weight Percentages will adjust a decision's weight, and is usually run in conjunction with the Select Decision with Highest Order & Weight function block. The weight change only has effect during the current control cycle.

Modifications

This function block has an additional parameter, an array Point ID that lists the item class for each attribute. Only items that belong to the specified item class will be considered. Remainder of this function block is unchanged.

Parameters

This function block has the following parameters:

Parameter

Description

Always Evaluate

Hard, Soft or Breakable. This parameter controls what happens when the extension eliminates all available decisions.

Hard: All decisions will remain eliminated. Enter a wait state after the logic script has completed.

Soft: Roll back any decisions eliminated by this extension.

Breakable: Roll back any decisions eliminated by this extension that have a danger point value of TRUE (non zero). The routing modules will first use the danger defined for each individual decision and, if no danger point has been configured for the decision, then the site-wide danger point will be used. If no danger point can be found for a decision, then the decision remain eliminated.

Item Class

Name of array point that lists item class of the item that contains the attribute. Specify the class of the items to be considered or leave blank for all items.

Attribute Name

Name of the array point that lists the attribute names to be compared.

Attribute Value

Name of the array point that contains the Attribute Value. Each Element can contain one or multiple values separated by a comma. Do not include quotes.

For example,

element 0 = Blue,Green

element 1 = K

Upper Release % Target

The upper percentage limit, of an acceptable range, for items that should be released with the corresponding attribute value.

Lower Release % Target

The lower percentage limit, of an acceptable range, for items that should be released with the corresponding attribute value.

Attribute Released Count

The actual number of times released with the corresponding attribute value.

Total Released Count

Integer (analog) point.

Counter point stores and continues to increment the total number of items released.

More information

Eliminate Decision by Increasing Weight Percentages example.

Eliminate Decision by Increasing Weight Percentages pseudo code.

Routing function blocks list.