Most refinery optimization models assume that oil and gas flows can be redistributed smoothly across the system as long as
mass balance and capacity constraints are satisfied. Tank farms invalidate this assumption by introducing state-dependent constraints and discrete operational decisions.
Unlike process units, tank farms impose segmentation into physical storage locations, each with its own limits, product compatibility rules, and operational status. This means that two scenarios with identical total residuals can have completely different feasibility outcomes depending on how they distributed across tanks.
In addition, decisions such as blending, shipment, and routing are tightly coupled through residual inventory. A small change in one tank residual can cascade through the system, affecting multiple downstream constraints simultaneously and invalidating previously optimal solutions.
As a result, classical linear or even smooth nonlinear optimization approaches struggle to capture real refinery behavior. Tank farms effectively transform the problem into a system of continuous flows and discrete state transitions, where feasibility and optimality must be evaluated together rather than separately.
Tank farms are the most common example of this behavior, but they are not the only ones. Loading racks can exhibit similar dynamics, as they may contain significant residual volumes and are strongly dependent on the availability and scheduling of rail tank cars. This introduces additional constraints and variability in shipment operations, which can substantially affect the feasibility of optimization plans and further increase the coupling between logistics, storage, and production decisions.