The
shipment_plans table in the Petroleum Refining Library database uses the
group_name field to distinguish production and shipment plans for the same product. The
ShipmentNode loads the corresponding plan based on this designation and uses it during AnyLogic refinery simulation. tion. The ShipmentNode automatically loads the relevant product plans from the database and uses them for production or shipment tracking. For the Production ShipmentNode,
allowOverPlanning should be enabled so that the node records production without restricting the flow when the plan is exceeded. This is important for two reasons. First, the refinery may produce valuable intermediate or finished products, and stopping their production could cause the accumulated material to be returned to the common process stream rather than being utilized. Second, the
tank farm may represent the only available route for a product, meaning that restricting the flow at the ShipmentNode would incorrectly interrupt the physical process. The ShipmentNode, in contrast, should stop the flow once the shipment plan is fulfilled. This allows the node to act as a control point that prevents further product dispatch once the planned shipment volume has been reached.
Thus, the two ShipmentNodes have different roles:
Production ShipmentNode → records production without limiting the flow.
Shipment ShipmentNode → controls shipment and stops the flow when the plan is fulfilled.