Jump to Interactive Model Compare four different approaches to modeling refinery tank farms under identical operating conditions. This simulation demonstrates how the same refinery behaves when storage is represented with different levels of detail—from a full
digital twin to simplified approximations.
The comparison includes:
Case 1 – Full Tank Farm Digital Twin. Simulates a tank farm consisting of two storage tanks with a total capacity of 10,200 t, both initially 50% full. One tank starts in the
Filling state and the other in the Shipment state. A 24-hour product certification period is applied, while all routing, shipment operations, and operational constraints are modeled exactly as they occur in a real refinery.
Case 2 – Direct Flow Approximation. Bypasses tank farms completely. Products are transferred directly between process units and shipments without intermediate storage, buffering, inventory accumulation, or time delay. Consequently, the inlet and outlet flow rates are always identical, while shipment is controlled using a constant equivalent withdrawal rate equal to the average withdrawal rate over the simulation period.
Case 3 – Equivalent Tank Model with Certification. Replaces the entire
tank farm with a single equivalent storage tank having the same 10,200 t capacity and an initial 50% inventory. A 24-hour product certification period is preserved, while individual tank behavior and routing
decisions are aggregated into a single storage node.
Case 4 – Equivalent Tank Model without Certification. Replaces the entire tank farm with a single equivalent storage tank having the same 10,200 t capacity and an initial 50% inventory. Product certification is disabled, allowing material to become immediately available for shipment while other storage-related operational constraints are simplified.
The primary performance indicator is the coefficient of variation (CV) of the tank farm inlet flow, which quantifies how storage-related constraints propagate upstream and destabilize the incoming process flow. A higher coefficient of variation indicates stronger flow interruptions and a greater influence of the tank farm on overall refinery operation. Effectively, the CV measures the extent to which the internal state of the tank farm—including tank utilization, inventory distribution, and storage capacity limitations—disturbs the
operation of upstream process units and storage facilities by introducing fluctuations into the incoming flow. Additional performance metrics include outlet flow dynamics, which characterize downstream flow stability, together with cumulative shipment volume. This metric is used to calibrate the simplified models by selecting an equivalent withdrawal rate that matches the total shipment of the reference digital twin over the simulation period.
It should be noted that even the full digital twin is simplified. The model considers only inlet flow interruptions caused by unavailable storage capacity and does not include
planning-driven restrictions introduced to reserve inventory for future shipments. Therefore, the presented results isolate the impact of storage capacity alone.
Unlike the full digital twin, which directly reproduces the physical behavior of the refinery, all simplified models require calibration. Their equivalent withdrawal rate must be determined so that the cumulative shipment volume over the simulation period is identical to that of the digital twin. This calibration establishes a common basis for comparison and ensures that the observed differences arise from the storage representation itself rather than from unequal shipment capacity.
These results demonstrate that the suitability of each tank farm modeling approach is primarily determined by the balance between incoming production flow and outgoing shipment capacity. As this imbalance increases, explicitly modeling storage dynamics becomes increasingly important.
Scenario 1 – Inlet Flow Significantly Lower than Shipment Flow (in 50 t/h, out 150 t/h).When the incoming flow is substantially lower than the shipment rate, the
digital twin maintains at least one free storage tank almost continuously. Consequently, the inlet valve rarely closes, resulting in a low inlet flow coefficient of variation. Under these conditions,
Cases 1 and 2 produce nearly identical results, whereas
Cases 3 and 4 overestimate flow variability by about
50%, introducing artificial disturbances to upstream process units and storage facilities.
Scenario 2 – Inlet Flow Approximately Equal to Shipment Flow (in 150 t/h, out 150 t/h).When the incoming flow approaches the shipment rate, the availability of free storage tanks becomes an important operational constraint. The digital twin (
Case 1) captures occasional interruptions of the incoming flow caused by temporary shortages of available storage, resulting in an inlet flow coefficient of variation of approximately
12%. The direct-flow approximation (
Case 2) completely neglects this mechanism and therefore predicts a constant inlet flow (
CV = 0%). Conversely, the equivalent-tank models (
Cases 3 and 4) amplify the effect, increasing the coefficient of variation to approximately
50%. These results indicate that, under balanced operating conditions, the direct-flow model underestimates the influence of the tank farm, whereas the equivalent-tank representation substantially overestimates it.
Scenario 3 – Inlet Flow Significantly Higher than Shipment Flow (in 150 t/h, out 50 t/h).When the incoming flow substantially exceeds the shipment rate, storage capacity becomes the dominant constraint governing refinery operation. Under these conditions, the detailed internal configuration of the tank farm has little influence on upstream flow behavior, and the digital twin (
Case 1) is closely reproduced by the equivalent-tank models (
Cases 3 and 4), all exhibiting an inlet flow coefficient of variation of approximately
35%. The direct-flow approximation (
Case 2) remains incapable of capturing this behavior, consistently predicting
CV = 0% because storage limitations are ignored.