Example 3: Largest Contributing Lot is a Tie Between a From and a To Vessel

Suppose that you want to move quantities from vessels 1 and 2 to Vessel 3. Vessel 1 has 1000 liters, vessel 2 has 2000 liters, and vessel 3 has 1000 liters. If you move 100 liters from vessel 1 and 1000 liters from vessel 2 to vessel 3, both vessel 2 and vessel 3 contribute the same amount (1000 liters) to the vessel 3 after lot. If both a From and To vessel contributes the same largest amount, the system copies the alternative blend ID of the existing To vessel, which in this example is vessel 3.

Note: No specific logic exists to evaluate which alternative blend ID to copy when more than one From vessel contributes the same largest amount. In this situation, the system copies the alternative blend ID from the first From vessel that it locates.

This table shows the before, contributing, and after amounts, and the alternative blend IDs when both a From vessel and a To vessel contribute the same largest amounts:

Vessel

Before Amount

Before Alternative Blend ID

Contributing Amount

After Amount

After Alternative Blend ID

1 (From)

1000

ABC

100

900

ABC

2 (From)

2000

XYZ

1000

1000

XYZ

3 (To)

1000

DEF

1000

2100 (total of the contributing amounts)

DEF