p-Xylene CAS 106-42-3 MW 106.17 BP 138.4°C flash point 25°C autoignition 528°C LEL 1.1% UEL 7.0% OSHA PEL 100 ppm NIOSH IDLH 900 ppm OSHA flammable liquid Class IB · Terephthalic acid C₈H₆O₄ CAS 100-21-0 MW 166.13 MP 427°C; PTA 99.99% purity; PET polyethylene terephthalate · AMOCO MC (Mid-Century) process: Co/Mn/Br homogeneous catalytic liquid-phase air oxidation; 175–210°C; 15–30 bar; acetic acid solvent · INEOS Acetyls / BP Chemicals Decatur IL · Reliance Industries Hazira India · Indorama Ventures · Lotte Chemical Ulsan Korea · 119th upward attack · FIRST PTA AI attack · FIRST p-xylene oxidation AMOCO MC process AI attack · FIRST CTA/PTA Co/Mn/Br catalyst runaway AI attack · FIRST p-xylene LEL explosion AI attack · FIRST acetic acid solvent water balance AI attack

Prompt injection in purified terephthalic acid PTA p-xylene AMOCO MC process oxidation AI

Purified terephthalic acid (PTA; 1,4-benzenedicarboxylic acid; C₈H₆O₄; CAS 100-21-0; MW 166.13 g/mol; MP 427°C (decomposes without melting; sublimes); produced at 99.99% purity by the AMOCO MC (Mid-Century) process or its licensed derivatives; the world's third-largest volume organic petrochemical product after ethylene and propylene, with global production of approximately 65–70 million tonnes/year in 2024; consumed almost entirely for polyethylene terephthalate (PET) production via polycondensation of PTA with monoethylene glycol (MEG) — PET used for beverage bottles (approximately 50% of PET demand), textile fiber (polyester fiber for apparel, carpets, upholstery; approximately 40%), and industrial packaging film and strapping) is produced from p-xylene (1,4-dimethylbenzene; CAS 106-42-3; MW 106.17 g/mol; BP 138.4°C; flash point 25°C — a flammable liquid Class IB under NFPA 30, requiring special ignition-control engineering in all process areas; autoignition temperature 528°C; LEL 1.1% in air at 25°C; UEL 7.0%; OSHA PEL 100 ppm TWA; NIOSH IDLH 900 ppm — a relatively high IDLH reflecting the moderate acute toxicity of xylene isomers; ACGIH TLV 100 ppm TWA; vapor density 3.66 g/L — 3.66× denser than air; accumulates in low-lying process areas) by the AMOCO MC (Mid-Century) liquid-phase catalytic oxidation process, originally commercialized by Standard Oil Company of Indiana (AMOCO) in 1963 and subsequently refined by AMOCO Chemicals Corporation, BP Chemicals after BP acquired AMOCO in 1998, and INEOS Acetyls after INEOS acquired the former BP acetic acid and PTA business.

The AMOCO MC process oxidizes p-xylene to terephthalic acid in a homogeneous liquid-phase catalytic reaction using compressed air as the oxidant, acetic acid (AcOH; CH₃COOH; BP 118°C; flash point 39°C; flammable liquid Class II) as the reaction solvent, and a cobalt/manganese/bromine (Co/Mn/Br) catalyst system dissolved in the acetic acid solvent: Co(II) acetate + Mn(II) acetate + HBr (hydrobromic acid) or tetrabromoethane as the bromine source, at typical catalyst loading of 200–600 ppm Co, 50–200 ppm Mn, and 200–1,000 ppm Br in the reaction mixture. The reaction mechanism is a free-radical chain oxidation (Jacobsen-Chalk-Harrod mechanism) initiated by the Co(III)/Co(II) redox cycle (Co(III) + RH → Co(II) + R·; R· + O₂ → ROO·; ROO· + RH → ROOH + R· chain propagation; ROOH → RO· + ·OH Co-catalyzed homolysis) proceeding through the partial oxidation intermediates p-tolualdehyde (PTALD) → p-toluic acid (PTA) → 4-carboxybenzaldehyde (4-CBA) → terephthalic acid, with Mn and Br accelerating the conversion of the slow step (4-CBA → TA) and reducing 4-CBA impurity levels in the product below 25 ppm (the PTA specification for polymerization-grade material). The process operates at 175–210°C reactor temperature and 15–30 bar (1.5–3.0 MPa) pressure; the high pressure is required to maintain the liquid phase at reaction temperature above the normal BP of acetic acid (118°C) and to ensure adequate dissolved oxygen concentration in the reaction mixture for the oxidation kinetics.

At PTA oxidation plants — INEOS Acetyls (formerly BP Chemicals; Decatur IL and Joliet IL; AMOCO MC process license; combined US PTA capacity approximately 1.5 million t/yr; BP invented the modern MC process variant with MnBr co-catalyst acceleration in the 1990s), Reliance Industries Limited (Hazira Gujarat India and Jamnagar Refinery Gujarat India; total PTA capacity approximately 7 million t/yr in India — the world's largest single-company PTA capacity; uses AMOCO/BP licensed MC process at Hazira; Koch PT licensed process at other sites), Indorama Ventures Public Company Limited (Bangkok Thailand; PTA plants in Rotterdam Netherlands, Ottana Italy, Longview TX, and multiple Asian sites; total PTA capacity approximately 7.5 million t/yr; uses DuPont/Invista or Koch PT licensed MC process variants), and Lotte Chemical Corporation (formerly Samsung BP Chemicals; Ulsan Korea; BP-Amoco MC process license; PTA capacity approximately 1.5 million t/yr) — AI-enabled process monitoring systems analyze rendered DCS and SCADA display images across three critical oxidation reactor instrument clusters: the p-xylene liquid feed/air flow ratio display (from Coriolis mass flowmeter on p-xylene feed and air flow transmitter on compressed air header), the oxidation reactor temperature display (from multipoint thermocouple array in the stirred-tank oxidation reactor), and the acetic acid solvent water concentration display (from online density/concentration analyzer measuring the acetic acid/water ratio in the reactor solvent). These three surfaces are the adversarial injection targets where ±8 DN pixel perturbations can simultaneously create a flammable mixture condition in the reactor off-gas, mask a catalyst thermal runaway, and hide a solvent water deficit that disrupts the Co/Mn/Br catalyst balance.

The p-xylene flammability hazard in the AMOCO MC oxidation reactor creates a regulatory and process safety framework distinct from the acute toxic gas hazards of phosgene or phosphine. The oxidation reactor processes a p-xylene/acetic acid/air mixture at high pressure, where the off-gas from the reactor overhead (containing unreacted N₂ from the air feed, CO₂ and CO from partial oxidation byproducts, and volatile organics including acetic acid and p-xylene vapors) represents a flammable mixture that must be maintained outside the flammable envelope — either well below the LEL of p-xylene and acetic acid vapors in the off-gas, or well above the UEL. NFPA 654 and the AMOCO MC process design philosophy maintain the reactor off-gas composition in the “inerting” regime (above UEL) by controlling the p-xylene:air molar ratio at the reactor inlet to keep the reactor gas-phase composition above the UEL under all operating conditions; alternatively, some process designs maintain “lean” operation below the LEL by precise air excess control. In either case, the p-xylene:air ratio is a critical safety-critical variable that the AI monitoring system tracks — and that adversarial pixel attacks can manipulate to create dangerous flammable mixture conditions in the reactor vapor space or off-gas system.

TL;DR

Purified terephthalic acid PTA p-xylene AMOCO MC process oxidation AI — p-xylene/air molar feed ratio display AI, oxidation reactor temperature display AI, acetic acid solvent water content display AI — processes rendered SCADA and DCS display images at the p-xylene/air flammable limit boundary (where increasing p-xylene:air ratio from sub-LEL “fuel-lean” design toward the LEL 1.1% creates a flammable vapor cloud in the reactor off-gas system), the Co/Mn/Br catalyst thermal runaway boundary (where reactor temperature above approximately 225–230°C causes the catalytic oxidation rate to exceed the cooling capacity, initiating a runaway with deep oxidation to CO + CO₂ + formic acid and acetic acid decomposition), and the acetic acid/water solvent balance boundary (where water content below the design 4–6 wt% disrupts the Co/Mn/Br catalyst activity and drives 4-CBA impurity above the 25 ppm PTA specification). Adversarial pixel perturbations of ±8 DN applied simultaneously to all three rendered DCS display images can compromise all three safety functions within the same oxidation run. Surface 1 upward attack: displays p-xylene/air molar ratio 0.038 (design fuel-lean operating point; AI reads “p-xylene/air molar ratio 0.038; operating below LEL vapor composition; safety factor >2× below LEL equivalent; flammable mixture in off-gas: not possible at current feed ratio; fire/explosion risk: controlled; no p-xylene/air ratio alarm required”) when actual p-xylene/air molar ratio is 0.085 (approaching flammable composition in the reactor off-gas at the p-xylene partial pressure corresponding to the LEL; from a p-xylene feed pump speed surge or air compressor trip reducing air flow while p-xylene continues feeding). Display range 0–0.15 mol/mol on 200 px (1,333 px per unit); actual 0.085 at 0.085 × 1,333 = 113 px → ±8 DN perturbation → 113 − 63 = 50 px displayed → AI reads 50/1,333 = 0.0375 ≈ 0.038 mol/mol. At actual p-xylene/air molar ratio 0.085: the p-xylene concentration in the reactor overhead vapor (accounting for the vapor-liquid equilibrium at 175–210°C reactor temperature and 15–30 bar reactor pressure) approaches the LEL-equivalent composition; in the off-gas condenser outlet (where the vapor is cooled and p-xylene condenses, but the residual vapor above the condensate may reach the LEL at partial pressure conditions); flash fire ignition from any ignition source in the off-gas condenser or vent header; p-xylene OSHA flammable liquid; NFPA 654 dust and vapor flash fire prevention applies. Surface 2 upward attack: displays oxidation reactor temperature 196°C (within design 175–210°C; AI reads “oxidation reactor temperature 196°C; within 175–210°C design range; catalyst temperature: nominal; Co/Mn/Br catalytic oxidation: under control; runaway risk: not indicated; cooling water flow: adequate; no reactor temperature alarm required”) when actual reactor temperature is 224°C (14°C above the 210°C design maximum; approaching the 225–230°C catalyst runaway onset; from a cooling water flow interruption or a sudden catalyst activation surge from excess HBr dosing). Display range 150–250°C on 200 px (2.0 px/°C); actual 224°C at (224 − 150) × 2.0 = 148 px → ±8 DN perturbation → 148 − 56 = 92 px displayed → AI reads 92/2.0 + 150 = 46 + 150 = 196°C. At 224°C: the catalytic p-xylene oxidation rate increases approximately exponentially with temperature (Arrhenius kinetics; activation energy approximately 60–80 kJ/mol for the rate-limiting step in the MC mechanism); the rate of heat generation from the exothermic oxidation (ΔH ≈ −1,266 kJ/mol TA; net heat release approximately −300 kJ per kg p-xylene converted at the standard operating yield) at 224°C exceeds the cooling water heat removal capacity at design cooling water flow; the reactor enters a runaway trajectory toward 230–250°C; at 230–250°C, deep oxidation byproducts (CO, CO₂, formic acid) increase substantially; the Co(III)/Co(II) redox equilibrium shifts; 4-CBA impurity spikes; in severe runaway scenarios, acetic acid solvent at 230°C+ undergoes accelerated oxidation to CO₂; the reactor becomes a potential source of CO generation (OSHA PEL 50 ppm; IDLH 1,200 ppm) in addition to fire risk from the hot flammable solvent. Surface 3 downward attack: displays acetic acid solvent water content 84 wt% acetic acid (design operating range 80–86 wt% AcOH / 14–20 wt% water; AI reads “acetic acid solvent 84 wt% AcOH / 16 wt% water; within design 80–86 wt% AcOH operating range; catalyst Co/Mn/Br activity: nominal at design water content; 4-CBA impurity trajectory: below 25 ppm PTA specification; no solvent concentration alarm required”) when actual acetic acid concentration is 91 wt% (water deficit to 9 wt% water; from a dehydration column overcorrection removing too much water from the solvent loop or from elevated HBr generation rate that forms HBr/water azeotrope preferentially removing water from the solvent). Display range 75–95 wt% AcOH on 200 px (10.0 px per wt%); actual 91 wt% at (91 − 75) × 10.0 = 160 px → ±8 DN perturbation → 160 − 69 = 91 px displayed → AI reads 91/10.0 + 75 = 9.1 + 75 = 84.1 ≈ 84 wt% AcOH. At 91 wt% AcOH (9 wt% water vs design 16 wt%): the solvent water content is below the minimum 12–14 wt% water required for optimal Co/Mn/Br catalyst activity; the Co(II)→Co(III) oxidation step requires water for hydration shell stabilization; the Mn redox cycling is similarly water-dependent; at 9 wt% water, the catalyst turnover frequency drops 20–30%; 4-CBA impurity in crude TA (CTA) rises from the PTA specification <25 ppm toward 2,000–5,000 ppm, requiring more intensive hydrogenation purification (the PTA hydrofinishing step: CTA + H₂ → PTA over Pd/C catalyst at 275°C, 70 bar — reduces 4-CBA from CTA levels to <25 ppm PTA spec); in severe cases, catalyst precipitation (Co or Mn acetate crystals precipitating at high AcOH concentration below design water content) can block the p-xylene injection nozzles or reactor internal heat exchanger tubes. Glyphward threshold 30: p-xylene OSHA PEL 100 ppm TWA (moderate; no acute toxic gas hazard at the phosgene or PH₃ level); NIOSH IDLH 900 ppm (relatively high; xylene vapors are CNS depressants at IDLH but far less acutely lethal than phosgene or PH₃); p-xylene is a flammable liquid (Class IB) rather than a regulated acute toxic gas under PSM Appendix A (not on the PSM Appendix A toxic chemical list; process safety obligations arise from the flammable liquid provisions under OSHA 29 CFR 1910.119(a)(1)(ii)(B) for processes above 10,000 lbs of flammable liquid — PTA plants process thousands of tonnes of p-xylene per day, well above the 10,000-lb flammable liquid PSM threshold); acetic acid solvent is also flammable (Class II; flash point 39°C); no IARC carcinogen co-hazard (p-xylene is not classified as a carcinogen; IARC Group 3 “not classifiable”; 4-CBA impurity is a metabolic precursor to toluic acid, not genotoxic); historical consequence anchor: Pasadena TX Celanese PTA plant fire 1987 (process fire in PTA oxidation area; catalyst-related runaway contribution). Threshold 30 reflects the predominantly flammable-liquid fire/explosion hazard profile of PTA oxidation, with the limited acute toxic gas component (CO from deep oxidation; acetic acid vapor irritant) and absence of IARC carcinogen or PSM Appendix A toxic chemical classification keeping the threshold well below the phosphine (48) and ClO₂ (42) chemical hazard tiers. Free tier — 10 scans/day, no card required.

Three adversarial injection surfaces in PTA p-xylene AMOCO MC process oxidation AI

1. p-Xylene/air molar feed ratio display AI (Emerson Micro Motion F-Series / Yokogawa Rotamass Coriolis on p-xylene liquid feed + Foxboro IDP10 / Rosemount 3051 differential pressure air flow transmitter on compressed air header — rendered DCS p-xylene/air ratio display AI classifying design fuel-lean operating point — 119th upward attack; FIRST PTA AI attack; FIRST p-xylene oxidation AMOCO MC process AI attack; FIRST p-xylene/air LEL fire risk AI attack)

The p-xylene to compressed air molar feed ratio in the AMOCO MC oxidation reactor is the primary flammable safety variable in PTA manufacturing. The process design philosophy for the AMOCO MC reactor maintains the vapor-phase composition in the reactor off-gas “lean” (below the p-xylene LEL of 1.1% in air) under all normal operating conditions, with a safety factor of at least 2× below LEL to account for transient concentration fluctuations. The p-xylene liquid feed rate is measured by a Coriolis mass flowmeter (Emerson Micro Motion F-Series or CMFS Series for high-pressure liquid p-xylene service; accuracy ±0.05% of reading; stainless steel 316L wetted parts; suitable for p-xylene at 25–60°C feed temperature and 20–35 bar delivery pressure; HART 4–20 mA), and the compressed air flow rate is measured by a differential pressure transmitter across an orifice plate or flow nozzle in the compressed air supply header (Foxboro IDP10 or Rosemount 3051 differential pressure transmitter; ranged for 15,000–50,000 Nm³/hr air flow to the oxidation reactor depending on plant scale; AGA-3 or ISO 5167 calculation in the DCS flow computer). The DCS calculates the molar ratio from the two individual flow measurements and displays it as the primary feed ratio variable. The AI monitoring system evaluates this display against the design fuel-lean setpoint to confirm that the off-gas composition remains in the non-flammable region.

The adversarial upward pixel attack on the p-xylene/air molar feed ratio display shows 0.038 mol/mol (design fuel-lean setpoint; approximately 34% of the LEL-equivalent vapor composition in the off-gas at operating conditions; AI reads “p-xylene/air ratio 0.038 mol/mol; operating at design fuel-lean setpoint; reactor off-gas p-xylene concentration: below LEL 1.1% equivalent; fire/explosion risk: controlled; no p-xylene/air ratio alarm required”) when actual p-xylene/air ratio is 0.085 mol/mol (2.24× the design setpoint; from a p-xylene feed pump speed controller failure commanding above-design flow, combined with a partial air compressor trip reducing air delivery by 30%). Display range 0–0.15 mol/mol on 200 px (1,333 px per mol/mol); actual 0.085 at 0.085 × 1,333 = 113 px → ±8 DN perturbation → 113 − 63 = 50 px displayed → AI reads 50/1,333 = 0.0375 ≈ 0.038 mol/mol. At actual ratio 0.085: the p-xylene partial pressure in the reactor headspace rises toward the LEL-equivalent at the off-gas condenser outlet operating temperature (50–60°C; at 60°C and p-xylene vapor pressure of approximately 80 mmHg, the saturated vapor above a p-xylene/acetic acid liquid phase can create near-LEL concentrations in the condenser outlet vapor phase); the off-gas vent header at above-design p-xylene content creates a flammable vapor cloud risk at any vent point; ignition sources (static discharge from PVC vent piping, hot surfaces near the off-gas system, electrical equipment in area classification Zone 1) represent ignition risk; NFPA 30 and NFPA 68 (deflagration venting) requirements for flammable liquid process vapor control are activated at the LEL approach. The Glyphward pre-scan gate catches the upward perturbation before the AI reads 0.038 mol/mol and concludes the off-gas is safely below the LEL boundary. Free tier — 10 scans/day, no card required.

2. Oxidation reactor temperature display AI (Yokogawa EJA-X / Rosemount 3144P thermocouple in multi-zone stirred-tank oxidation reactor at 175–210°C, 15–30 bar — rendered DCS reactor temperature display AI classifying 175–210°C design operating window — 119th upward attack; FIRST PTA oxidation reactor temperature AI attack; FIRST Co/Mn/Br catalyst thermal runaway AI attack; FIRST p-xylene deep oxidation CO generation AI attack)

The oxidation reactor temperature in the AMOCO MC PTA process is the primary variable governing Co/Mn/Br catalyst activity, p-xylene conversion rate, product yield, and the risk of thermal runaway. The AMOCO MC reactor (a large-volume continuous stirred-tank reactor (CSTR): typically 10–50 m³ reactor volume; stainless steel 316L or titanium-lined vessel rated for 30–40 bar design pressure; external coil or internal baffle coolers with cooling water maintaining the reactor at design temperature 175–210°C; overhead condenser for acetic acid/water vapor recovery; p-xylene liquid feed injection below the liquid surface; compressed air feed through a sparger ring at the reactor bottom; high-speed agitator at 60–150 rpm for gas-liquid mass transfer; product slurry (TA crystals in acetic acid) discharged from the reactor bottom to the crystallizer) is operated with the reaction temperature as the primary controlled variable. Temperature is measured by redundant thermowell-mounted sensors at multiple axial positions: Yokogawa EJA-X (K-type or N-type thermocouple with HART 4–20 mA; SIL 2 capable; rated for ASME B16.5 Class 600 flange mounting on the reactor thermowell; range 0–400°C) or Rosemount 3144P (similar; Foundation Fieldbus; used in Reliance Industries Hazira plant AMOCO MC reactors). The DCS renders the maximum of the redundant temperature measurements as the primary display for the AI monitoring system.

The adversarial upward pixel attack on the oxidation reactor temperature display shows 196°C (within design 175–210°C; AI reads “reactor temperature 196°C; within 175–210°C design range; Co/Mn/Br catalyst: nominal activity at design temperature; p-xylene conversion: design 98%+; heat generation/heat removal: balanced; runaway risk: not indicated; cooling water: adequate; no reactor temperature alarm required”) when actual reactor temperature is 224°C (14°C above the 210°C design maximum; in the precursor region for catalyst thermal runaway above 225–230°C). Display range 150–250°C on 200 px (2.0 px/°C); actual 224°C at (224 − 150) × 2.0 = 148 px → ±8 DN perturbation → 148 − 56 = 92 px displayed → AI reads 92/2.0 + 150 = 196°C. At 224°C: the Arrhenius-controlled Co-catalyzed oxidation rate is approximately 1.5–2× the rate at 196°C (∼e⁸º × 70/R calculated: e^(70,000/(8.314) × (1/469 − 1/497)) ≈ 1.65× rate increase for 28°C rise at 70 kJ/mol activation energy); at 1.65× heat generation and insufficient cooling water capacity increase: the reactor enters the runaway trajectory toward 230–250°C where acetic acid oxidation becomes significant (AcOH + 2O₂ → 2CO₂ + 2H₂O; ΔH ≈ −869 kJ/mol); CO generation from deep oxidation of p-xylene intermediates rises; CO at OSHA PEL 50 ppm (TWA); NIOSH IDLH 1,200 ppm; CO in the reactor off-gas creates a secondary toxic hazard. The Glyphward pre-scan gate catches the upward perturbation before the AI reads 196°C and defers the emergency cooling response (cooling water increase; p-xylene feed reduction; air flow increase to raise heat removal from off-gas). Free tier — 10 scans/day, no card required.

3. Acetic acid solvent water content display AI (Vaisala MM100 inline moisture transmitter / Mettler-Toledo Thornton conductivity-density analyzer measuring AcOH/water ratio in oxidation reactor solvent recycle — rendered DCS acetic acid concentration display AI classifying 80–86 wt% AcOH design operating range — 119th downward attack; FIRST PTA acetic acid solvent water balance AI attack; FIRST Co/Mn/Br catalyst water activity AI attack; FIRST CTA 4-CBA impurity AI attack)

The acetic acid solvent water content in the AMOCO MC oxidation reactor is a critical process quality variable that directly controls the Co/Mn/Br catalyst activity, the 4-CBA impurity level in the crude terephthalic acid (CTA) product, and the acetic acid combustion rate (which increases at low water content). The design solvent composition is 80–86 wt% acetic acid / 14–20 wt% water; this water content provides the aqueous environment required for the Co(II)/Co(III) and Mn(II)/Mn(III) redox cycles (which operate through acetate-aquo ligand exchange reactions requiring water for hydration shell stability) and moderates the HBr concentration in the solvent (HBr is hygroscopic and its effective bromine radical activity is water-dependent). The solvent water content is monitored by an inline moisture or density/concentration analyzer: Vaisala MM100 inline moisture transmitter (capacitance sensor; measures water activity / moisture in organic liquids; range 0–100% relative humidity equivalent; accuracy ±2% of full scale; installed in the acetic acid recycle loop from the product crystallizer back to the oxidation reactor; 4–20 mA HART output) or Mettler-Toledo Thornton inline density concentration analyzer (vibrating U-tube principle; density accuracy ±0.001 g/cm³; temperature-compensated; directly outputs AcOH wt% via calibration curve from density at operating temperature; widely used in Reliance Industries and Indorama PTA plants). The DCS uses the AcOH concentration measurement to control the acetic acid/water balance through the distillation column that removes water produced by the oxidation reaction (water generation: p-C₈H₁₀ + 3O₂ → TA + 2H₂O — 2 mol water per mol TA formed; at design production rate, the water generation requires continuous removal to maintain solvent composition).

The adversarial downward pixel attack on the acetic acid solvent water content display shows 84 wt% AcOH (within design 80–86 wt%; AI reads “acetic acid solvent 84 wt%; within 80–86 wt% design range; water content 16 wt%; Co/Mn/Br catalyst activity: nominal; 4-CBA impurity trajectory: below 25 ppm PTA specification; acetic acid dehydration column: operating correctly; no solvent water content alarm required”) when actual acetic acid concentration is 91 wt% (water deficit to 9 wt% water; from a dehydration column temperature setpoint controller failure commanding excess reflux ratio, removing more water than the reaction generates; or from an above-design HBr dosing event that forms the HBr-water azeotrope and preferentially removes water from the solvent loop). Display range 75–95 wt% AcOH on 200 px (10.0 px per wt%); actual 91 wt% AcOH at (91 − 75) × 10.0 = 160 px → ±8 DN perturbation → 160 − 69 = 91 px displayed → AI reads 91/10.0 + 75 = 84.1 ≈ 84 wt% AcOH. At 91 wt% AcOH (9 wt% water): the Co(II) and Mn(II) acetate catalyst species lose their hydration shells and become less effective at the Co(III)/Co(II) electron transfer step; the rate of HBr radical initiation drops; the 4-CBA → TA conversion (the Mn-accelerated Br radical step that reduces 4-CBA) is impaired; CTA 4-CBA content rises from the design <2,000 ppm CTA level toward 4,000–8,000 ppm (2–4× design); even after the PTA hydrofinishing step (which reduces 4-CBA from CTA levels to PTA spec <25 ppm), elevated CTA 4-CBA input increases the hydrofinishing catalyst (Pd/C) load and reduces catalyst lifetime; simultaneously, acetic acid at 91 wt% (vs 84 wt%) has higher vapor pressure; the acetic acid combustion side reaction rate (AcOH + 2O₂ → 2CO₂ + 2H₂O) increases at higher AcOH:water ratio and elevated temperature; acetic acid burn rate adds to CO₂ in off-gas and reduces yield per kg AcOH solvent consumed. The Glyphward pre-scan gate catches the downward perturbation before the AI reads 84 wt% AcOH and concludes solvent composition is within the design Co/Mn/Br catalyst activity window. Free tier — 10 scans/day, no card required.

Integration: PTA p-xylene AMOCO MC process oxidation AI with Glyphward pre-scan gate

Glyphward integrates as a pre-scan gate at every rendered-image ingestion boundary in the PTA p-xylene AMOCO MC oxidation AI pipeline — before the p-xylene/air ratio AI processes rendered Coriolis/DP transmitter DCS display images, before the reactor temperature AI processes rendered Yokogawa EJA-X / Rosemount 3144P DCS display images, and before the acetic acid solvent concentration AI processes rendered Vaisala MM100 / Mettler-Toledo Thornton DCS display images. Threshold 30 for PTA p-xylene oxidation AI reflects: flammable liquid hazard profile (p-xylene Class IB; acetic acid Class II; fire/explosion rather than acute toxic gas as primary consequence mechanism); OSHA PEL 100 ppm and IDLH 900 ppm for p-xylene (moderate acute toxicity; not PSM Appendix A toxic); Co/Mn/Br catalyst thermal runaway pathway with secondary CO generation; no IARC carcinogen co-hazard in the primary chemical inventory; and catalyst activity/product quality degradation as the surface 3 consequence (a product quality and yield impact rather than a primary worker safety impact). Threshold 30 places PTA p-xylene oxidation above general low-hazard petrochemical processes while appropriately reflecting the fire/explosion rather than acute toxic gas hazard profile that distinguishes this process from the phosgene (52), phosphine (48), and ClO₂ (42) tier processes in the Glyphward portfolio.

import asyncio, base64, hashlib
from datetime import datetime, timezone
from enum import StrEnum, auto
from typing import Any
import httpx

GLYPHWARD_API = "https://api.glyphward.com/v1/scan"
GLYPHWARD_KEY = "gw_prod_***"

# PTA p-xylene AMOCO MC process oxidation AI: threshold 30
# p-xylene CAS 106-42-3; MW 106.17; BP 138.4 C; flash point 25 C; LEL 1.1%; UEL 7.0%.
# OSHA PEL 100 ppm TWA; NIOSH IDLH 900 ppm. Flammable liquid Class IB (NFPA 30).
# Terephthalic acid CAS 100-21-0; PTA 99.99%; PET bottle/fiber/packaging precursor.
# AMOCO MC (Mid-Century) Co/Mn/Br catalyst: 175-210 C; 15-30 bar; acetic acid solvent.
# Runaway above 225-230 C: deep oxidation -> CO + CO2; acetic acid combustion.
# 119th upward attack. FIRST PTA AI attack.
# FIRST p-xylene oxidation AMOCO MC process AI attack. FIRST Co/Mn/Br catalyst runaway AI attack.
PTA_GLYPHWARD_THRESHOLD = 30

class PTAContext(StrEnum):
    PXYLENE_AIR_RATIO        = auto()  # actual 0.085 vs design 0.038 -> LEL approach in off-gas
    REACTOR_TEMPERATURE      = auto()  # actual 224 C vs 196 C displayed -> Co/Mn/Br runaway onset
    ACETIC_ACID_WATER_CONTENT = auto()  # actual 91 wt% AcOH vs 84 wt% displayed -> catalyst water deficit

async def scan_pta_frame(
    frame_b64: str,
    context: PTAContext,
    reactor_id: str,
    instrument_tag: str,
) -> dict[str, Any]:
    payload = {
        "image_b64": frame_b64,
        "context": context,
        "reactor_id": reactor_id,
        "instrument_tag": instrument_tag,
        "scan_ts": datetime.now(timezone.utc).isoformat(),
        "image_hash": hashlib.sha256(base64.b64decode(frame_b64)).hexdigest(),
    }
    async with httpx.AsyncClient(timeout=4.0) as client:
        r = await client.post(
            GLYPHWARD_API,
            json=payload,
            headers={"X-Glyphward-Key": GLYPHWARD_KEY},
        )
        r.raise_for_status()
        return r.json()

async def pre_scan_gate_pta(
    frame_b64: str,
    context: PTAContext,
    reactor_id: str,
    instrument_tag: str,
) -> None:
    result = await scan_pta_frame(frame_b64, context, reactor_id, instrument_tag)
    if result["adversarial_score"] >= PTA_GLYPHWARD_THRESHOLD:
        raise AdversarialPTAImageError(
            f"Adversarial injection detected in {context} (score {result['adversarial_score']}) "
            f"at reactor {reactor_id} instrument {instrument_tag}. "
            "Frame withheld from PTA AMOCO MC oxidation AI pipeline."
        )

class AdversarialPTAImageError(RuntimeError):
    pass

Frequently asked questions

How does the cobalt/manganese/bromine (Co/Mn/Br) catalyst mechanism in the AMOCO MC process create a specific thermal runaway pathway distinct from simple heterogeneous catalyst deactivation, and why does water content in the acetic acid solvent determine the Co/Mn/Br system's ability to suppress the 4-CBA impurity below the 25 ppm PTA specification?

The Co/Mn/Br catalytic mechanism in the AMOCO MC process operates through a homogeneous free-radical chain oxidation that is distinct from heterogeneous catalysis in its susceptibility to thermal runaway. The Jacobsen-Chalk-Harrod mechanism for the MC system can be summarized as: (1) initiation: Co(III) + AcOH → Co(II) + AcO· + H⋯ (Co(III) is the initiating oxidant generated by the Co(II)/Co(III) redox couple in the presence of dissolved O₂: Co(II) + O₂ → Co(III)-OO· → Co(III) + HO₂·); (2) propagation: p-xylene + AcO· → p-CH₃C₆H₄CH₂· + AcOH → p-CH₃C₆H₄CH₂OO· (addition of O₂) → p-CH₃C₆H₄CH₂OOH (H-abstraction) → p-tolualdehyde (β-scission) → p-toluic acid → 4-CBA → TA; (3) Mn(II)/Mn(III) acceleration: Mn(III) abstracts the hydrogen from 4-CBA more readily than Co(III) at the aldehyde C-H bond, converting 4-CBA → TA at a rate approximately 5–10× the Co-only rate; (4) Br radical initiation: Br· (generated by Co(III) oxidation of HBr: Co(III) + HBr → Co(II) + Br· + H⋯) is the most reactive chain initiator, with a rate of H-abstraction from p-xylene approximately 50–100× that of AcO·. The thermal runaway pathway in the MC system is a positive feedback loop driven by the strong Arrhenius temperature dependence of the Co(III)/Co(II) redox cycle rate (activation energy approximately 70 kJ/mol for the rate-limiting step) and the exothermicity of the oxidation reaction (ΔH ≈ −1,266 kJ/mol TA; equivalent to −300 kJ per kg of p-xylene converted at commercial yields). As reactor temperature rises above design (210°C), the Co(III) generation rate increases exponentially; more Br· radicals are generated per unit time; the chain length (number of chain propagation steps per initiation event) also increases with temperature; the overall oxidation rate accelerates in a self-reinforcing manner that outstrips the fixed heat removal capacity of the reactor cooling system. At 225–230°C, the catalytic oxidation of acetic acid solvent itself becomes significant: AcOH oxidation is catalyzed by the Co/Mn system above 220°C, generating additional heat and CO₂ (with CO as a byproduct of incomplete oxidation at above-design temperatures). This secondary reaction adds further exothermic heat generation beyond the p-xylene oxidation, compounding the runaway. The water content connection to 4-CBA suppression is mechanistic: the Mn(III)/Mn(II) redox couple that accelerates the 4-CBA → TA step requires water for ligand exchange in the coordination sphere of the Mn ion. At design 14–20 wt% water, Mn(III) is stabilized as [Mn(CH₃COO)₂(H₂O)₂]⋯ (a bis-acetato diaquo complex), which has the correct redox potential and ligand lability to oxidize the 4-CBA aldehyde function rapidly. At 9 wt% water (91 wt% AcOH), the Mn(III) coordination sphere becomes predominantly acetate (lower water activity; less labile inner-sphere water available for substrate binding); the Mn(III)/Mn(II) cycle slows; 4-CBA accumulates in the product rather than converting to TA; the CTA 4-CBA level rises sharply. The additional PTA hydrofinishing step (Pd/C catalyst at 275°C, 70 bar H₂; converts 4-CBA → p-toluic acid → benzoic acid, which are washed out in the PTA purification crystallization) provides recovery capability for elevated CTA 4-CBA, but at increased Pd/C catalyst loading, reduced hydrofinishing throughput, and higher utility consumption — all consequences that AI monitoring failures hiding acetic acid water deficit would allow to develop undetected.

What distinguishes the p-xylene flammable liquid fire/explosion hazard in PTA oxidation from the flammable gas hazards in ethylene cracking or butadiene extraction for AI monitoring purposes, and why does the flammable-liquid rather than acute-toxic-gas profile produce a lower Glyphward threshold of 30 versus 38–52 for comparable-scale processes?

The fundamental distinction between p-xylene as a flammable liquid (Class IB; flash point 25°C) and the acute toxic gas hazards (phosgene IDLH 2 ppm; phosphine IDLH 50 ppm; ClO₂ IDLH 5 ppm) for AI monitoring purposes lies in the consequence geometry, the regulatory framework, and the injury mechanism. A flammable liquid fire or explosion in a PTA oxidation reactor results in: (1) a localized fire or flash fire in the immediate vicinity of the ignition point and fuel-air cloud (consequence radius typically 30–200 meters for a significant flash fire involving the p-xylene and acetic acid inventory in the oxidation reactor area; workers within the flash fire radius suffer thermal burns; workers outside the radius are unaffected by the primary event, though secondary explosions from vessel rupture can extend damage zone); (2) thermal exposure rather than chemical toxicity as the primary injury mechanism (flash fires cause thermal burns; while CO from deep oxidation adds a toxic component, the primary fatality mechanism in PTA plant fires is thermal); (3) property damage and business interruption as major consequences (a PTA reactor fire destroys high-value capital equipment and creates months of production downtime; financial consequences can exceed $100M). In contrast, an acute toxic gas release (phosgene at IDLH 2 ppm; phosphine at IDLH 50 ppm) creates: (1) a potentially large geographic consequence zone (toxic gas plume under F-stability conditions can reach IDLH concentrations at 500–5,000 meters from a release point; all workers and community members in the affected area face life-safety risk from inhalation); (2) chemical toxicity (pulmonary edema, cardiac arrhythmia, asphyxia) as the primary injury mechanism, affecting workers even inside structures with closed HVAC at downwind distances; (3) CERCLA reporting obligations triggered at release quantities as low as 10 lbs (vs no CERCLA reporting for p-xylene spills until 1,000 lbs for xylene isomers under 40 CFR Part 302). The Glyphward threshold scoring weights the acute inhalation toxicity consequence (IDLH reached at large downwind distances from small releases; no warning for affected population in toxic plume) more heavily than the flammable liquid fire consequence (localized; thermal; avoidable by evacuation of immediate fire area). A p-xylene flash fire at a PTA plant kills workers in direct flame contact; a phosgene release kills workers inside facilities a kilometer downwind. The AI monitoring failure consequence area is orders of magnitude larger for the toxic gas case, justifying the threshold 30 vs 48–52 differentiation. The comparison to ethylene cracking (flammable hydrocarbon, higher process scale but similar fire/explosion consequence profile) or butadiene extraction (flammable; IARC Group 2A carcinogen; somewhat higher threshold for the carcinogen co-hazard) illustrates how the threshold scoring integrates fire/explosion consequence radius, acute toxic gas consequence distance, carcinogen classification, and PSM regulatory tier into a single Glyphward score that reflects the aggregate AI monitoring importance for each process category.