Unlike manufacturing systems, petroleum refineries do not process individual items or batches moving between workstations. Instead, crude oil and intermediate products continuously flow through pipelines, process units,
tank farms, and blending systems. Material is constantly being separated, converted, stored, mixed, and transferred throughout the refinery.
Traditional
discrete-event simulation (DES) models systems where state changes occur only at specific events, such as machine failures, vehicle arrivals, or production order completion. This approach is highly effective for manufacturing, logistics, and warehouse operations, where individual entities move through a sequence of processing steps.
Petroleum refining, however, is fundamentally different. Most refinery operations involve
continuous material flow, where flow rates,
tank residuals, equipment utilization, and product compositions change continuously over time. A temporary reduction in the throughput of a distillation unit, for example, immediately affects downstream pipelines, storage tanks, blending operations, and shipment schedules.
As a result, realistic refinery digital twins require
continuous flow simulation to reproduce material movement and maintain material balance throughout the production network. At the same time, refinery operations also involve many discrete operational events, including equipment failures, maintenance shutdowns, valve switching, pump activation, production schedule changes, and shipment arrivals.
Therefore, modern refinery digital twins typically combine
continuous flow simulation with
discrete-event logic in a hybrid modeling approach. Continuous simulation accurately reproduces oil and gas flows, while discrete events control operational decisions, equipment states, logistics, and production planning. This combination enables engineers to evaluate both the physical behavior of refinery processes and the operational decisions that govern them.
By integrating continuous material flow with event-driven control logic, hybrid simulation provides a realistic representation of refinery operations and forms the foundation of modern petroleum refinery digital twins.