Storage tank repair is a routine but operationally critical activity in every refinery. Throughout the year, tanks are periodically taken out of service for inspection, cleaning, internal maintenance, equipment replacement, or regulatory compliance. Although these activities are planned in advance, they directly affect storage capacity, production planning, and product logistics.
Unlike process equipment, a accumulative tank cannot simply be switched to an
repair state. Before maintenance begins, the remaining product must be safely transferred to other available tanks while maintaining product quality, preserving mass balance, and ensuring sufficient free storage capacity. At the same time, the refinery must continue meeting shipment schedules and supplying downstream processing units without interruption.
These operational constraints make tank repair a complex logistics problem rather than a simple equipment status change. The maintenance process must be coordinated with residual levels, tank availability, production plans, and product movements across the entire tank farm.
For this reason, realistic
tank repair simulation requires much more than disabling a storage tank in the model. A digital twin must simulate product redistribution, validate available storage capacity, automatically select suitable tanks for maintenance, and preserve normal refinery operations throughout the repair process. This article explains how Petroleum refining Library models these operations using an event-driven repair algorithm for
accumulative tank farms.