Many
refinery simulation models represent a process as a network of material flows connecting process units,
storage tanks, pipelines, and loading facilities. This approach is sufficient for mass balance calculations in steady-state process simulation. However, real refinery operations are governed by much more than product movement.
Production decisions are continuously influenced by operational information originating from multiple independent sources. Process units adjust production according to monthly production plans, shipment schedules, customer orders, available tank capacity, product quality status, laboratory certification,
equipment availability, and many other operational constraints. As a result, two refinery models with identical material flow diagrams may exhibit completely different operational behavior depending on the information available to decision makers.
Within AnyLogic, material flows are typically represented using Fluid Library components, whereas request propagation is implemented as an event-driven logical layer provided by Petroleum Refining Library
For example, a tank farm may contain enough diesel residuals, but if none of the tanks has completed quality certification, shipment cannot begin. Conversely, production may need to increase even when current product residual levels appear sufficient because a large shipment is scheduled for the following month or because another tank must be filled to the minimum level required for passportization. These decisions cannot be derived from material balances alone on which additionally affected by
losses, additives, and removable streams.
Therefore, an industrial
digital twin must simulate two interconnected systems simultaneously:
- the
physical system, where hydrocarbons move through pipelines, process units, and storage tanks;
- the
information system, where production requests, shipment plans, quality status, operational priorities, and scheduling decisions propagate between model components, with production requests traveling upstream in the opposite direction of material flows.
Only by modeling both material and information flows can a digital twin reproduce the decision-making logic used in real refinery operations. Information becomes an active driver of production rather than merely a record of completed events.