{"data":{"slug":"tank-farm-terminal-automation","title":"Tank Farm and Terminal Automation","summary":"Tank farms and product terminals — refineries' storage, oil depots, chemical bulk storage, and loading terminals — are where inventory becomes a measured…","category":{"slug":"process-industries-solutions","name":"Process Industries Solutions"},"url":"https://wiki.aspotomasyon.com/article/tank-farm-terminal-automation","markdown_url":"https://wiki.aspotomasyon.com/article/tank-farm-terminal-automation.md","api_url":"https://wiki.aspotomasyon.com/api/v1/articles/tank-farm-terminal-automation","published":"2026-08-11T13:05:24+00:00","modified":"2026-09-13T16:44:25+00:00","reading_minutes":4,"word_count":801,"image":"https://wiki.aspotomasyon.com/assets/social/tank-farm-terminal-automation-5c4ca9553923.png","html":"<p>Tank farms and product terminals — refineries' storage, oil depots, chemical bulk storage, and loading terminals — are where inventory becomes a measured business: millions of dollars of product, moved by automated systems whose errors show up as lost product, wrong blends, or spills. Tank farm automation covers gauging (level, temperature, density), inventory management, blending, loading (road, rail, marine), and the safety systems that make storage safe. The discipline is measurement integrity: the tank farm's data is its money.</p><figure class=\"article-figure\"><img src=\"https://wiki.aspotomasyon.com/assets/diagrams/process-industries-solutions-context.svg\" width=\"1100\" height=\"460\" loading=\"lazy\" decoding=\"async\" alt=\"A conceptual process-control feedback chain. Independent protection functions are outside this simplified diagram and must be assessed separately.\"><figcaption>A conceptual process-control feedback chain. Independent protection functions are outside this simplified diagram and must be assessed separately. <a href=\"https://wiki.aspotomasyon.com/assets/diagrams/process-industries-solutions-context.svg\" target=\"_blank\" rel=\"noopener\">View full size</a></figcaption></figure>\n\n<h2 id=\"gauging-the-measurement-foundation\">Gauging: The Measurement Foundation</h2>\n\n<ul>\n  <li><strong>Level gauging</strong> — servo gauges, radar (guided wave and free-space), and hybrid systems (see the radar level article); the accuracy class (API MPMS Chapter 3) is selected for the custody-transfer duty.</li>\n  <li><strong>Temperature</strong> — average temperature (multi-point or spot probes) per API; the volume correction factor (VCF) turns observed volume into standard volume — the basis of all inventory and transfer calculations.</li>\n  <li><strong>Density</strong> — hydrometer-style density or mass from level + density; mass-based inventory is the modern standard (mass does not need temperature correction).</li>\n  <li><strong>Water and sediment</strong> — interface detection (water bottom) matters for custody and for product quality; the gauging system includes interface measurement where relevant.</li>\n</ul>\n\n<p>The gauging system (typically a tank gauging system per API 2350/MPMS) reports level, temperature, density, and calculated volume/mass to the inventory system — with the accuracy and recalibration discipline that custody transfers demand.</p>\n\n<h2 id=\"inventory-and-business-integration\">Inventory and Business Integration</h2>\n\n<p>Terminal automation sits between the field and the business:</p>\n\n<ul>\n  <li><strong>Inventory management</strong> — per-tank standard volume/mass, reconciled against movements; the inventory report is the terminal's balance sheet, and reconciliation variance is the fraud/leak early warning.</li>\n  <li><strong>Movement transactions</strong> — receipt, transfer, and delivery transactions with product, quantity, and counterparty — feeding the ERP/billing; the automation's transaction records are the billing evidence.</li>\n  <li><strong>Blending</strong> — in-line blending (see the ratio control article) for product specification blending, with analyzer feedback and batch certification.</li>\n  <li><strong>Allocation and loss control</strong> — the reconciliation loop (book inventory vs gauged inventory) per tank, per product, per period; the loss report is management's control instrument.</li>\n</ul>\n\n<h2 id=\"loading-automation\">Loading Automation</h2>\n\n<p>Loading terminals automate the highest-risk operations — product in motion near people:</p>\n\n<ul>\n  <li><strong>Road loading</strong> — automated loading bays: driver identification (RFID/card), product allocation, batch presets, loading arm interlocks, and meter-based quantity with printout; the loading system enforces the business rules (credit check, product entitlement) before a liter flows.</li>\n  <li><strong>Rail and marine loading</strong> — larger-scale: marine terminal automation with ship-shore interface (SSI) interlocks, overfill protection, and emergency shutdown integration.</li>\n  <li><strong>Safety interlocks</strong> — grounding verification, vapor recovery connection, overfill protection (independent high-high level switches per API 2350), and emergency stop chains — the loading system's safety layer is as critical as its measurement layer.</li>\n</ul>\n\n<h2 id=\"safety-systems-and-overfill-protection\">Safety Systems and Overfill Protection</h2>\n\n<p>Tank farms follow recognized standards (API 2350 for overfill protection, IEC 61511 for the safety functions):</p>\n\n<ul>\n  <li><strong>Independent protection</strong> — the automated gauging (used for control) is separate from the safety layer: independent high-high level switches (or independent radar) with their own logic and actuation (close the inlet valve / stop the pump).</li>\n  <li><strong>Alarm management</strong> — high/high-high alarms with defined operator response, per ISA-18.2; tank farms were the scene of the overfill incidents that shaped the standard.</li>\n  <li><strong>Testing</strong> — the overfill protection is proof-tested on schedule, and the gauging accuracy is verified by manual dips on a schedule; the test records are the terminal's safety evidence.</li>\n</ul>\n\n<h2 id=\"architecture-and-integration\">Architecture and Integration</h2>\n\n<p>The terminal automation system (TAS) ties it together: field instruments and loading systems connect over fieldbus/wireless (WirelessHART is common in tank farms — see the WirelessHART article), the TAS manages inventory and transactions, and the business layer (ERP, TMS) exchanges data via standard interfaces (OPC UA for the field, APIs for the business). The historian records everything — product movements, alarms, and transactions — because the terminal's disputes (a truck short-delivered, a tank gained product) are settled with data, not conversation.</p>\n\n<h2 id=\"summary\">Summary</h2>\n\n<p>Tank farm and terminal automation is measurement integrity plus safety discipline: accurate gauging (level, temperature, density, water), inventory and movement transactions feeding the business, automated loading with interlocks, and independent overfill protection per API 2350. The data is the money, the safety layer is the license, and the reconciliation is the control. Terminals that respect both run profitable and safe; terminals that neglect either find out expensively.</p><section class=\"engineering-check\"><h2 id=\"apply-this-to-your-project\">Apply this to your project</h2><ul><li>Record process boundaries, required operating states, and interactions with independent protective systems.</li><li>Check instrument quality, control authority, permissives, and operator responsibilities during state changes.</li><li>Agree how tests, deviations, and configuration changes will be recorded within the facility's engineering procedures.</li></ul><p><a href=\"https://wiki.aspotomasyon.com/guides\">Follow an ASP project guide</a> to connect the fundamentals with implementation and acceptance.</p></section><figure class=\"article-figure\"><img src=\"https://wiki.aspotomasyon.com/assets/diagrams/process-industries-solutions-review.svg\" width=\"1100\" height=\"460\" loading=\"lazy\" decoding=\"async\" alt=\"Engineering review sequence: Define → Coordinate → Validate → Maintain. Keep the recorded evidence with the accepted configuration.\"><figcaption>Engineering review sequence: Define → Coordinate → Validate → Maintain. Keep the recorded evidence with the accepted configuration. <a href=\"https://wiki.aspotomasyon.com/assets/diagrams/process-industries-solutions-review.svg\" target=\"_blank\" rel=\"noopener\">View full size</a></figcaption></figure><h2 id=\"primary-references-and-further-reading\">Primary references and further reading</h2><p>Use the original specifications and product documentation for implementation details. The examples in this guide are illustrative engineering scenarios, not published project results.</p><ul><li><a href=\"https://www.isa.org/standards-and-publications/isa-standards/isa-88-standards\" rel=\"noopener noreferrer\" target=\"_blank\">ISA — ISA-88 batch control</a></li><li><a href=\"https://new.abb.com/control-systems\" rel=\"noopener noreferrer\" target=\"_blank\">ABB — Process control systems</a></li></ul><!-- asp-editorial-202609 -->","markdown":"# Tank Farm and Terminal Automation\n\n> Tank farms and product terminals — refineries' storage, oil depots, chemical bulk storage, and loading terminals — are where inventory becomes a measured…\n\n- Canonical URL: https://wiki.aspotomasyon.com/article/tank-farm-terminal-automation\n- Publisher: ASP OTOMASYON A.Ş. (ASP OTOMASYON Wiki)\n- Category: Process Industries Solutions\n- Published: 2026-08-11 · Updated: 2026-09-13\n- Reading time: 4 min · Language: English\n\nTank farms and product terminals — refineries' storage, oil depots, chemical bulk storage, and loading terminals — are where inventory becomes a measured business: millions of dollars of product, moved by automated systems whose errors show up as lost product, wrong blends, or spills. Tank farm automation covers gauging (level, temperature, density), inventory management, blending, loading (road, rail, marine), and the safety systems that make storage safe. The discipline is measurement integrity: the tank farm's data is its money.\n\n![A conceptual process-control feedback chain. Independent protection functions are outside this simplified diagram and must be assessed separately.](https://wiki.aspotomasyon.com/assets/diagrams/process-industries-solutions-context.svg)\n\n*A conceptual process-control feedback chain. Independent protection functions are outside this simplified diagram and must be assessed separately.*\n\n## Gauging: The Measurement Foundation\n\n- **Level gauging** — servo gauges, radar (guided wave and free-space), and hybrid systems (see the radar level article); the accuracy class (API MPMS Chapter 3) is selected for the custody-transfer duty.\n- **Temperature** — average temperature (multi-point or spot probes) per API; the volume correction factor (VCF) turns observed volume into standard volume — the basis of all inventory and transfer calculations.\n- **Density** — hydrometer-style density or mass from level + density; mass-based inventory is the modern standard (mass does not need temperature correction).\n- **Water and sediment** — interface detection (water bottom) matters for custody and for product quality; the gauging system includes interface measurement where relevant.\n\nThe gauging system (typically a tank gauging system per API 2350/MPMS) reports level, temperature, density, and calculated volume/mass to the inventory system — with the accuracy and recalibration discipline that custody transfers demand.\n\n## Inventory and Business Integration\n\nTerminal automation sits between the field and the business:\n\n- **Inventory management** — per-tank standard volume/mass, reconciled against movements; the inventory report is the terminal's balance sheet, and reconciliation variance is the fraud/leak early warning.\n- **Movement transactions** — receipt, transfer, and delivery transactions with product, quantity, and counterparty — feeding the ERP/billing; the automation's transaction records are the billing evidence.\n- **Blending** — in-line blending (see the ratio control article) for product specification blending, with analyzer feedback and batch certification.\n- **Allocation and loss control** — the reconciliation loop (book inventory vs gauged inventory) per tank, per product, per period; the loss report is management's control instrument.\n\n## Loading Automation\n\nLoading terminals automate the highest-risk operations — product in motion near people:\n\n- **Road loading** — automated loading bays: driver identification (RFID/card), product allocation, batch presets, loading arm interlocks, and meter-based quantity with printout; the loading system enforces the business rules (credit check, product entitlement) before a liter flows.\n- **Rail and marine loading** — larger-scale: marine terminal automation with ship-shore interface (SSI) interlocks, overfill protection, and emergency shutdown integration.\n- **Safety interlocks** — grounding verification, vapor recovery connection, overfill protection (independent high-high level switches per API 2350), and emergency stop chains — the loading system's safety layer is as critical as its measurement layer.\n\n## Safety Systems and Overfill Protection\n\nTank farms follow recognized standards (API 2350 for overfill protection, IEC 61511 for the safety functions):\n\n- **Independent protection** — the automated gauging (used for control) is separate from the safety layer: independent high-high level switches (or independent radar) with their own logic and actuation (close the inlet valve / stop the pump).\n- **Alarm management** — high/high-high alarms with defined operator response, per ISA-18.2; tank farms were the scene of the overfill incidents that shaped the standard.\n- **Testing** — the overfill protection is proof-tested on schedule, and the gauging accuracy is verified by manual dips on a schedule; the test records are the terminal's safety evidence.\n\n## Architecture and Integration\n\nThe terminal automation system (TAS) ties it together: field instruments and loading systems connect over fieldbus/wireless (WirelessHART is common in tank farms — see the WirelessHART article), the TAS manages inventory and transactions, and the business layer (ERP, TMS) exchanges data via standard interfaces (OPC UA for the field, APIs for the business). The historian records everything — product movements, alarms, and transactions — because the terminal's disputes (a truck short-delivered, a tank gained product) are settled with data, not conversation.\n\n## Summary\n\nTank farm and terminal automation is measurement integrity plus safety discipline: accurate gauging (level, temperature, density, water), inventory and movement transactions feeding the business, automated loading with interlocks, and independent overfill protection per API 2350. The data is the money, the safety layer is the license, and the reconciliation is the control. Terminals that respect both run profitable and safe; terminals that neglect either find out expensively.\n\n## Apply this to your project\n\n- Record process boundaries, required operating states, and interactions with independent protective systems.\n- Check instrument quality, control authority, permissives, and operator responsibilities during state changes.\n- Agree how tests, deviations, and configuration changes will be recorded within the facility's engineering procedures.\n\n[Follow an ASP project guide](https://wiki.aspotomasyon.com/guides) to connect the fundamentals with implementation and acceptance.\n\n![Engineering review sequence: Define → Coordinate → Validate → Maintain. Keep the recorded evidence with the accepted configuration.](https://wiki.aspotomasyon.com/assets/diagrams/process-industries-solutions-review.svg)\n\n*Engineering review sequence: Define → Coordinate → Validate → Maintain. Keep the recorded evidence with the accepted configuration.*\n\n## Primary references and further reading\n\nUse the original specifications and product documentation for implementation details. The examples in this guide are illustrative engineering scenarios, not published project results.\n\n- [ISA — ISA-88 batch control](https://www.isa.org/standards-and-publications/isa-standards/isa-88-standards)\n- [ABB — Process control systems](https://new.abb.com/control-systems)\n\n---\n\nCite the canonical article: https://wiki.aspotomasyon.com/article/tank-farm-terminal-automation (Tank Farm and Terminal Automation, ASP OTOMASYON, updated 2026-09-13).\n","headings":[{"id":"gauging-the-measurement-foundation","title":"Gauging: The Measurement Foundation"},{"id":"inventory-and-business-integration","title":"Inventory and Business Integration"},{"id":"loading-automation","title":"Loading Automation"},{"id":"safety-systems-and-overfill-protection","title":"Safety Systems and Overfill Protection"},{"id":"architecture-and-integration","title":"Architecture and Integration"},{"id":"summary","title":"Summary"},{"id":"apply-this-to-your-project","title":"Apply this to your project"},{"id":"primary-references-and-further-reading","title":"Primary references and further reading"}],"faq":[],"references":[{"name":"ISA — ISA-88 batch control","url":"https://www.isa.org/standards-and-publications/isa-standards/isa-88-standards"},{"name":"ABB — Process control systems","url":"https://new.abb.com/control-systems"}],"related":[{"slug":"chemical-plant-automation","title":"Chemical Plant Automation: Unit Operations and Control","summary":"Chemical plants are the classic domain of continuous process automation: reactors, distillation columns, heat exchangers, and separators operating 24/7 under…","category":{"slug":"process-industries-solutions","name":"Process Industries Solutions"},"url":"https://wiki.aspotomasyon.com/article/chemical-plant-automation","markdown_url":"https://wiki.aspotomasyon.com/article/chemical-plant-automation.md","api_url":"https://wiki.aspotomasyon.com/api/v1/articles/chemical-plant-automation","published":"2026-08-11T13:05:24+00:00","modified":"2026-09-13T16:44:25+00:00","reading_minutes":4,"word_count":777,"image":"https://wiki.aspotomasyon.com/assets/social/chemical-plant-automation-c58c205619ee.png"},{"slug":"brewery-automation","title":"Brewery Automation: Process and Packaging Control","summary":"Brewing combines biology and engineering: a live fermentation that must be controlled, not commanded; a process where the quality is decided by temperature…","category":{"slug":"process-industries-solutions","name":"Process Industries Solutions"},"url":"https://wiki.aspotomasyon.com/article/brewery-automation","markdown_url":"https://wiki.aspotomasyon.com/article/brewery-automation.md","api_url":"https://wiki.aspotomasyon.com/api/v1/articles/brewery-automation","published":"2026-08-11T13:05:24+00:00","modified":"2026-09-13T16:44:25+00:00","reading_minutes":4,"word_count":757,"image":"https://wiki.aspotomasyon.com/assets/social/brewery-automation-58fce4ef7b23.png"},{"slug":"industrial-wifi-design","title":"Industrial Wi-Fi Network Design and Deployment","summary":"Wi-Fi is the workhorse of industrial mobility: AGVs, cranes, forklift terminals, tablets, and maintenance tools all run on it — and industrial environments are…","category":{"slug":"modern-connectivity","name":"Modern Connectivity"},"url":"https://wiki.aspotomasyon.com/article/industrial-wifi-design","markdown_url":"https://wiki.aspotomasyon.com/article/industrial-wifi-design.md","api_url":"https://wiki.aspotomasyon.com/api/v1/articles/industrial-wifi-design","published":"2026-08-11T13:05:24+00:00","modified":"2026-09-13T11:07:23+00:00","reading_minutes":4,"word_count":824,"image":"https://wiki.aspotomasyon.com/assets/social/industrial-wifi-design-6baf6cccb1d6.png"},{"slug":"reading-electrical-schematics","title":"Reading Electrical Schematics and P&IDs: An Engineer's Guide","summary":"Every automation engineer's working life revolves around two drawing types: electrical schematics , which show how the control system is wired, and P&IDs…","category":{"slug":"technical-guides","name":"Technical Guides"},"url":"https://wiki.aspotomasyon.com/article/reading-electrical-schematics","markdown_url":"https://wiki.aspotomasyon.com/article/reading-electrical-schematics.md","api_url":"https://wiki.aspotomasyon.com/api/v1/articles/reading-electrical-schematics","published":"2026-08-11T13:05:24+00:00","modified":"2026-09-13T11:07:23+00:00","reading_minutes":4,"word_count":867,"image":"https://wiki.aspotomasyon.com/assets/social/reading-electrical-schematics-50d766a7f328.png"}],"citation":"ASP OTOMASYON. Tank Farm and Terminal Automation. Updated 2026-09-13. https://wiki.aspotomasyon.com/article/tank-farm-terminal-automation"}}