Within the
Petroleum Refining Library (PRL), two fundamental types of tank farm components are implemented to model distinct operational regimes of hydrocarbon storage and transportation in refinery and gas processing simulation systems. These components form a unified modeling layer for tank farm infrastructure within the AnyLogic environment and serve as standard reusable building blocks in digital twin architectures.
The first type, the flowing tank farm (RpFlowing), is designed for buffer-oriented storage systems where the primary objective is to smooth fluctuations in incoming and outgoing material streams. In PRL, this component implements continuous redistribution of flows through a synchronized set of
active tanks. RpFlowing is used in scenarios where the dominant requirement is stabilization of material transfer between process units, without explicit long-term accumulation or planning logic.
The second type, the
accumulative tank farm (RpAccumulative), implements a more complex state-driven logic focused on product accumulation, conditioning, and planned dispatch. In PRL, this component supports a multi-stage representation of product states, including accumulation, certification (passeportization), and shipment preparation. Unlike the flowing model, RpAccumulative is tightly integrated with logistics and production planning subsystems, enabling execution of scheduled shipments, control of product flows, and management of operational constraints.
Both tank farm types are implemented as parameterized and reusable components, enabling their deployment across a wide range of simulation scales—from localized process units to full refinery digital twins and distributed logistics networks. In both flowing and accumulative tank farm types,
additional flow streams may be present, including loss flows, additives and intentionally destroyed flows, which are treated as separate components of the overall material balance. Their combined use enables hybrid modeling architectures, where part of the system operates under real-time flow stabilization logic, while other parts follow structured accumulation and planning-driven behavior.