Accumulative Tank Farm Control in Refinery Digital Twins

Introduction

       While the ReservoirPark template provides generic runtime control capabilities, RpAccumulative extends them with specialized mechanisms for production planning, passportization, shipment preparation, and tank availability. These capabilities allow engineers to manage accumulative reservoir parks without interrupting the simulation. Engineers must manage passportization, shipment preparation, tank availability, and production planning without interrupting the simulation.
       Modern refinery digital twins combine automatic planning with operator supervision. While RpAccumulative automatically generates and executes filling requests, operators can initiate passportization, adjust output throughput, manage reserve tanks, and respond to changing operating conditions at runtime. Event-driven callbacks enable seamless integration with production planning, optimization algorithms, reporting systems, and custom business logic.

Passportization Control

       Passportization is one of the key operational procedures in accumulative reservoir parks. During this process, product remains in the storage tank for a specified residence time while laboratory personnel verify its quality against key specification parameters before the tank is released for shipment. This capability of digital twins allows engineers to model operator interventions, laboratory delays, emergency shipments, and other operational scenarios while preserving the integrity of the reservoir park control algorithm.

Throughput Control

       Controlling shipment throughput is essential for reproducing real refinery operating conditions. Reservoir parks in refinery digital twins allow engineers to dynamically limit the total outlet flow rate, making it possible to simulate pump capacity limits, maximum throughput of downstream processing units, pipeline restrictions, and other operational bottlenecks.
       Throughput limits can be modified or reset at runtime without interrupting the simulation. This enables engineers to evaluate different operating scenarios while preserving the automatic production planning and shipment algorithms.

Event-Driven Production Planning

       Modern accumulative reservoir parks in refinery digital twins rely on production planning algorithms to automatically generate and execute filling requests according to current operational objectives. Rather than creating requests manually, operators and external applications interact with the planning process through runtime control mechanisms and event-driven callbacks that report request creation and completion.
       These events allow custom business logic to synchronize production schedules, reporting systems, optimization algorithms, and other external applications with the current state of the reservoir park. Completion notifications can also provide execution statistics, allowing engineers to evaluate planning performance and identify partially completed requests caused by operational constraints.
       Additional runtime events may report changes to inlet availability, reserve tank allocation, and other operational states, enabling external control logic to react immediately to changing refinery conditions without continuously monitoring the storage system.

Operator Control and Automation

       RpAccumulative combines automatic production planning with interactive operator control. While production planning and filling request generation are managed automatically, operators can intervene at runtime through the integrated control panel by initiating passportization, managing reserve tanks, and adjusting shipment throughput to reflect changing operating conditions.
       All operator actions are immediately synchronized with the simulation through an event-driven architecture. This approach simplifies integration with custom business logic, production planning systems, optimization algorithms, and reporting tools while preserving the consistency of the reservoir park control algorithm.

RpAccumulative Control in Petroleum Refining Library (PRL)

       The runtime control capabilities described above are implemented in Petroleum Refining Library (PRL) through the RpAccumulative template. The component inherits all runtime control features of the ReservoirPark template, including operating modes, flow routing, throughput control, runtime configuration, and the integrated operator control panel. No additional application code is required to enable these capabilities, allowing engineers to configure and control accumulative reservoir parks directly within refinery digital twins.
       In addition, RpAccumulative provides specialized control mechanisms for accumulative reservoir parks, including manual passportization, automatic filling request management, reserve tank control, and event-driven integration with production planning. These capabilities allow engineers to customize operational behavior while preserving the library's built-in planning algorithms and maintaining realistic refinery operations.

Conclusion

Effective control of accumulative reservoir parks requires more than static configuration. Operators must be able to intervene during simulation, while automatic production planning continues to coordinate filling requests, passportization, shipment preparation, and tank availability.
RpAccumulative combines runtime control, event-driven integration, and operator supervision within a unified framework. By inheriting the generic control capabilities of ReservoirPark and extending them with accumulative-specific functionality, it enables engineers to build realistic refinery digital twins that remain flexible under changing production and logistics conditions.

FAQ

1. What is RpAccumulative control?
RpAccumulative control is the runtime management of accumulative reservoir park operations, including passportization, shipment throughput, reserve tanks, and integration with the automatic production planning algorithm.

2. Can operators manually start passportization?
Yes. Passportization can be initiated at runtime for either an individual tank or all eligible tanks without interrupting the simulation.

3. How are filling requests created?
Filling requests are generated automatically by the internal production planning algorithm. External applications interact with these requests through event-driven callbacks rather than creating them manually.

4. Can shipment throughput be limited during simulation?
Yes. RpAccumulative allows engineers to dynamically limit or reset the total outlet flow rate of the reservoir park to simulate operational constraints such as pump or pipeline capacity.

5. Does RpAccumulative support runtime operator control?
Yes. The integrated operator control panel allows engineers to manage passportization, reserve tanks, and throughput settings while the simulation is running.

6. How can external applications react to production planning events?
RpAccumulative provides event-driven callbacks for filling request creation, request completion, inlet valve state changes, and reserve tank operations, allowing seamless integration with custom business logic.

7. Does RpAccumulative replace ReservoirPark control?
No. RpAccumulative inherits all runtime control capabilities of ReservoirPark and extends them with specialized functionality for accumulative reservoir parks, including passportization, filling request management, and production planning integration.

Last updated on 29.06.2026