Crude oil supply chain simulation is a core methodology used to analyze and optimize complex
refinery logistics systems across upstream production, transportation networks, storage infrastructure, and downstream processing units. In modern oil and gas operations, refinery logistics require coordinated control of pipeline flows, tank farm inventories, and feedstock allocation to ensure stable and efficient production. By implementing a digital twin of the crude oil supply chain, operators can replicate real-world system behavior in a computational environment, enabling scenario analysis, bottleneck detection, and production planning optimization under dynamic operational constraints. During model validation, generated material flows can be verified using
FlowDiscrepancy, a specialized agent of the
Petroleum Refining Library designed to evaluate unaccepted material flow passing through the system and quantify the total flow discrepancy. It provides a quantitative measure of the material balance deviation, helping identify inconsistencies in flow generation, routing, or downstream capacity during simulation.
Planning feedstock deliveries to refineries is a challenging task because hydrocarbon production plans must be aligned with downstream processing capabilities and the capacity constraints of process units and
tank farms at the processing facility. Differences in the composition and quality of feedstock supplied from different oil and gas fields further complicate refinery planning and production planning. Learn
why changing feedstock changes the feasible operating region.
Production plan execution is evaluated using
PlanCompletionStatus, which provides a standardized interpretation of plan completion and overcompletion. Learn how completion statuses are calculated in the
Plan Completion Status article.
Under these conditions, crude oil
supply chain simulation plays an important role in analyzing delivery operations and the behavior of the entire supply network. By representing oil and gas fields, transportation infrastructure, and refineries as interconnected objects within a simulation model, engineers can identify bottlenecks, evaluate the consequences of
operational decisions, perform what-if analysis, and address supply chain optimization problems. These optimization decisions are discussed in more detail in our article on
Hybrid Simulation and Optimization for Petroleum Refinery Digital Twins. Operational decisions can be coordinated using a
request-based production planning mechanism that synchronizes feedstock deliveries, storage, and refinery process units.
This article discusses approaches to the crude oil supply chain simulation of feedstock deliveries to refineries involving crude oil, natural gas, and unstable gas condensate. It also describes the capabilities required to develop realistic refinery simulation models and support digital twin development for hydrocarbon feedstock supply systems. These capabilities are provided by the
Petroleum Refining Library for AnyLogic.
In an integrated refinery supply chain model, monitoring feedstock output helps engineers evaluate production performance and identify changes that may affect downstream transportation, storage, and processing. See
Source performance metrics in refinery simulation for the main statistics available for Source elements.