Ethylene oxide EO CAS 75-21-8 MW 44.05 BP 10.7°C flash point −20°C LEL 2.6 vol% UEL 100 vol% (self-sustaining detonation in absence of air above 3%) AIT 429°C OSHA PSM TQ 5,000 lbs (29 CFR 1910.119 Appendix A) EPA RMP TQ 10,000 lbs OSHA PEL 1 ppm (29 CFR 1910.1047 EO standard) ACGIH A2 suspected carcinogen IARC Group 1 (Monograph 97 2008) NIOSH IDLH 800 ppm CERCLA RQ 10 lbs · NH₃ CAS 7664-41-7 OSHA PSM TQ 10,000 lbs (dual PSM with EO) OSHA PEL 50 ppm ACGIH TLV-C 25 ppm IDLH 300 ppm CERCLA RQ 100 lbs · MEA CAS 141-43-5 IDLH 30 ppm ACGIH TLV 3 ppm · DEA CAS 111-42-2 IARC Group 2B · TEA CAS 102-71-6 · 115th upward attack · FIRST ethanolamine MEA DEA TEA AI attack · FIRST EO ammonia addition AI attack · FIRST dissolved EO accumulation AI attack · FIRST EO pump suction cavitation AI attack · FIRST EO ratio TEA over-alkylation AI attack · DOW Chemical Freeport TX · BASF Geismar LA · Huntsman Port Neches TX · INEOS Oxide · Nouryon Stenungsund Sweden

Prompt injection in ethanolamine MEA DEA TEA ethylene oxide ammonia reaction AI

Ethylene oxide (EO; CAS 75-21-8; MW 44.05 g/mol; BP 10.7°C — a gas at ambient temperature that is stored and transported as a liquefied gas under pressure; MP −112.7°C; flash point −20°C; vapor density 1.52 vs air; LEL 2.6 vol%; UEL 100 vol% — ethylene oxide is uniquely flammable in that it can sustain a self-propagating detonation in the absence of air at concentrations above approximately 3 vol% — the entire upper portion of the concentration range (3–100%) in air-free EO atmospheres supports detonation rather than simple deflagration; AIT 429°C; OSHA PSM Appendix A TQ 5,000 lbs under 29 CFR 1910.119; EPA RMP TQ 10,000 lbs under 40 CFR Part 68; OSHA PEL 1 ppm TWA under the EO-specific standard 29 CFR 1910.1047 — one of only a handful of OSHA substance-specific carcinogen standards with independent medical surveillance, biological monitoring, and engineering control requirements beyond the general industry standard; ACGIH A2 suspected human carcinogen; IARC Group 1 confirmed human carcinogen (Monograph 97, 2008; EO is genotoxic via direct alkylation of DNA, primarily forming N7-(2-hydroxyethyl)guanine and N3-(2-hydroxyethyl)adenine adducts; EO also alkylates hemoglobin — hydroxyethylvaline adducts in hemoglobin can be used as biomarkers of EO exposure in epidemiological studies; EO-exposed workers show excess risk of lymphoma and leukemia, with some evidence of breast cancer in women); NIOSH IDLH 800 ppm; CERCLA RQ 10 lbs — one of the lowest reportable quantities in the regulatory framework, reflecting EO's combination of extreme flammability, carcinogenicity, and high reactivity) is the primary reactive building block for ethanolamine production, reacting with ammonia via liquid-phase addition to produce the three commercial ethanolamine products: MEA (monoethanolamine; H₂N–CH₂CH₂–OH; CAS 141-43-5; MW 61.08 g/mol; BP 171°C; flash point 85°C; NIOSH IDLH 30 ppm; ACGIH TLV 3 ppm TWA; a strongly alkaline primary amine widely used in CO₂/H₂S gas treating, personal care products, and agricultural chemical synthesis), DEA (diethanolamine; (HOCH₂CH₂)₂NH; CAS 111-42-2; MW 105.14 g/mol; BP 269°C; IARC Group 2B possible human carcinogen in studies involving dermal application with dietary choline deficiency in rodents), and TEA (triethanolamine; (HOCH₂CH₂)₃N; CAS 102-71-6; MW 149.19 g/mol; BP 335°C; widely used in cosmetics, cement grinding aids, and textile lubricants). Global ethanolamine production approximately 2.2–2.5 million t/yr (2024); MEA represents approximately 55% of production, DEA approximately 30%, and TEA approximately 15%.

The industrial ethanolamine process is a continuous non-catalytic liquid-phase addition of EO to aqueous ammonia at 15–50°C and 0.5–3.0 MPa (5–30 bar): ethylene oxide (EO liquid, maintained above its BP 10.7°C under sufficient pressure to remain liquid — at 20°C, EO vapor pressure is approximately 1.47 bar, so the EO feed system must maintain suction pressure above 1.47 bar at 20°C to prevent EO vaporization in the feed piping) is injected into a pressurized aqueous ammonia solution at controlled NH₃:EO molar ratios. The product distribution (MEA:DEA:TEA) is controlled primarily by the bulk EO:NH₃ molar ratio: at high NH₃:EO ratios (NH₃:EO = 20:1 to 40:1, i.e., large excess of NH₃), the probability of a primary amine (MEA) reacting with a second EO molecule (to form DEA) is low, favoring MEA production; at low NH₃:EO ratios (NH₃:EO = 1:1 to 2:1), successive alkylation is favored, producing TEA and even quaternary ammonium salts (hydroxyl-ethyl substituted quaternary ammonium compounds formed when TEA reacts with a fourth EO molecule); the commercial MEA-selective process uses EO:NH₃ molar ratios of approximately 0.25:1 to 0.40:1 (i.e., NH₃:EO = 2.5:1 to 4:1 overall, but with NH₃ recycled to maintain the bulk reactor concentration at 10:1 to 20:1 NH₃:EO in the liquid phase). The process operates in a continuous stirred tank reactor or tubular reactor at 15–50°C with 20–60 minute residence time; the product mixture (MEA + DEA + TEA + excess NH₃ + water) is separated by a distillation train (ammonia stripper → MEA column → DEA column → TEA column; vacuum distillation for DEA at 50–100 mbar and TEA at 10–30 mbar due to their high boiling points).

At ethanolamine production facilities — Dow Chemical Company (Freeport TX; world's largest ethanolamine producer with approximately 600,000 t/yr total ethanolamine + alkylamines capacity at the integrated Freeport complex; Freeport is one of the world's largest integrated petrochemical complexes; Dow's ethanolamine plant was constructed in the 1960s and expanded multiple times; Dow Chemical merged with DuPont in 2017 to form DowDuPont, subsequently spun off as Dow Inc. in 2019), BASF SE (Geismar Louisiana + Ludwigshafen Germany; ~350,000 t/yr ethanolamine globally; Geismar LA is BASF's main US production site, adjacent to the Mississippi River chemical corridor; Ludwigshafen is the historic home of BASF's amine chemistry dating to the 1930s), Huntsman Corporation (Port Neches TX + Rozenburg Netherlands; Performance Products division; ~400,000 t/yr combined amine/ethanolamine capacity; Port Neches is at the center of the Southeast Texas chemical complex in the Golden Triangle), INEOS Oxide (formerly Grangemouth UK + formerly Antwerp Belgium; INEOS acquired EO/ethanolamine assets from various predecessors including ICI and Elenac; Antwerp operations sold/restructured post-2015), and AkzoNobel Specialty Chemicals (now Nouryon; Stenungsund Sweden; ethanolamine production at the Stenungsund complex adjacent to Nouryon's EO plant; approximately 150,000 t/yr ethanolamine capacity; Sweden's primary ethanolamine production site) — AI-enabled process monitoring systems analyze rendered DCS and SCADA display images across three critical instrument clusters: the EO:NH₃ molar ratio display (from Coriolis mass flowmeters on both the EO liquid feed line and the NH₃ liquid feed line, with the ratio computed in the DCS and displayed as a combined ratio graphic), the NH₃ recycle flow display (from electromagnetic flowmeter on the NH₃ recycle stream returning to the reactor), and the EO liquid feed pump suction pressure display (from differential pressure transmitter measuring suction pressure on the EO feed pump, which maintains EO in the liquid phase above its vapor pressure).

The regulatory context for EO processing in ethanolamine facilities is among the most stringent in the chemical industry, reflecting EO's unique combination of hazards: the OSHA 29 CFR 1910.1047 EO-specific standard (enacted 1984; revised 1988) imposes carcinogen-level medical surveillance, biological monitoring, and engineering control requirements specific to EO-exposed workers — distinct from and in addition to the requirements of the general industry PSM standard (29 CFR 1910.119); the EPA Risk Management Program (40 CFR Part 68) triggers an RMP submission for any facility with EO above the EPA RMP TQ 10,000 lbs, including mandatory worst-case and alternative release scenario analysis (OCA) for EO as a Toxic Chemical with a 1-hour ERPG-2 value of 50 ppm — meaning EO at 50 ppm within the consequence zone is the threshold for irreversible health effects; and the CERCLA RQ 10 lbs for EO means that any EO release above 10 lbs (4.54 kg) requires immediate notification to the NRC (National Response Center), the LEPC (Local Emergency Planning Committee), and the SERC (State Emergency Response Commission). Ethanolamine plants typically have EO storage inventories in the range of 50,000–200,000 lbs of EO liquid — well above both the PSM TQ 5,000 lbs and the EPA RMP TQ 10,000 lbs — placing them in the highest-scrutiny tier of EPA RMP facilities and OSHA PSM facilities simultaneously. Any AI monitoring system at an ethanolamine facility that can be deceived by adversarial pixel attacks on EO:NH₃ ratio, NH₃ recycle flow, or EO pump suction pressure displays introduces attack vectors into the primary layer of process control that guards against EO release, carcinogen exposure, and dissolution-EO-to-LEL flash scenarios.

TL;DR

Ethanolamine MEA DEA TEA ethylene oxide ammonia reaction AI — EO:NH₃ molar ratio display AI, NH₃ recycle flow display AI, EO liquid feed pump suction pressure display AI — processes rendered SCADA and DCS display images at the EO:NH₃ stoichiometry boundary (design 0.35:1 EO:NH₃ mol/mol for MEA-selective operation; above 1.5:1, dissolved EO accumulation in the reactor product creates an overhead flash hazard), the NH₃ recycle sufficiency boundary (design 380 m³/hr; below 100 m³/hr, the bulk reactor NH₃:EO ratio falls below 1:1, allowing EO excess to build in the liquid phase), and the EO pump suction pressure boundary (design 2.8 bar; below 1.5 bar at 20°C EO inlet temperature, EO approaches its saturation vapor pressure of 1.47 bar, creating pump cavitation and EO vapor generation at the suction flange). Adversarial pixel perturbations of ±8 DN applied simultaneously to all three rendered DCS display images can compromise all three safety functions within the same EO+NH₃ reaction period. Surface 1 upward attack: displays EO:NH₃ molar ratio 0.35:1 mol/mol (design MEA-selective ratio; AI reads “EO:NH₃ molar ratio 0.35:1 mol/mol; design MEA-selective operating condition; TEA over-alkylation: minimal; dissolved EO in reactor product: estimated <100 ppm; no EO accumulation risk; product distribution MEA-selective: nominal”) when actual EO:NH₃ ratio is 3.8:1 mol/mol (from EO feed control valve malfunction driving excess EO flow, or NH₃ feed control valve failure reducing NH₃ supply to the reactor). Display range 0–5 mol/mol on 200 px (40 px per mol/mol); actual 3.8 mol/mol at 3.8 × 40 = 152 px from scale zero → ±8 DN perturbation → 152 − 138 = 14 px displayed → AI reads 14/40 = 0.35 mol/mol. At actual EO:NH₃ ratio 3.8:1 mol/mol: (1) the excess EO (3.8 − 0.35 = 3.45 mol EO per mol NH₃ not consumed in MEA formation at design conditions; even with TEA over-alkylation consuming 3 mol EO per mol NH₃, approximately 0.45 mol excess EO per mol NH₃ remains after TEA and N-quaternary ammonium species formation) dissolves in the reactor aqueous product at approximately 2.8 mol dissolved EO per mol NH₃ charged (the bulk EO concentration in the aqueous reactor product at 3.8:1 ratio exceeds the Henry's law solubility limit for EO in water at the reactor temperature); (2) dissolved EO in the reactor product at concentrations above the Henry's law saturation at the reactor temperature (15–50°C; EO Henry's constant in water at 25°C approximately 0.026 atm·m³/mol) creates a flash hazard in the reactor overhead vapor space: EO with vapor pressure 1.47 bar at 20°C will partition into the reactor vapor phase above the liquid; EO vapor at concentrations above LEL 2.6 vol% in the reactor overhead creates a flammable atmosphere (and potentially a detonation atmosphere above 3 vol% in the near-pure reactor overhead space where air is excluded); (3) EO IARC Group 1; PSM TQ 5,000 lbs; CERCLA RQ 10 lbs; 29 CFR 1910.1047 carcinogen standard; EPA RMP TQ 10,000 lbs. Surface 2 downward attack: displays NH₃ recycle flow 360 m³/hr (within design 380 m³/hr; AI reads “NH₃ recycle flow 360 m³/hr; 95% of design; bulk reactor NH₃:EO ratio: approximately 17:1 with combined fresh NH₃ feed and recycle; EO consumption rate: adequate; dissolved EO in reactor product: minimal; no NH₃ recycle alarm required”) when actual NH₃ recycle flow is 42 m³/hr (11% of design; NH₃ recycle pump trip, recycle header blockage, or NH₃ stripper overhead condenser failure preventing NH₃ recovery for recycle). Display range 0–500 m³/hr on 200 px (0.4 px per m³/hr); actual 42 m³/hr at 42 × 0.4 = 16.8 px from zero → ±8 DN perturbation → 16.8 + 126 = 142.8 px displayed → AI reads 142.8/0.4 = 357 ≈ 360 m³/hr. At actual 42 m³/hr NH₃ recycle (11% of design 380 m³/hr): the bulk NH₃:EO ratio in the reactor liquid phase drops from the design approximately 15–20:1 (combining fresh NH₃ feed at approximately 60 m³/hr and recycle 380 m³/hr, at design EO flow for 0.35:1 EO:NH₃) to approximately 0.9:1 (with only fresh NH₃ feed available at 60 m³/hr and recycle at only 42 m³/hr, the total NH₃ flow is approximately 102 m³/hr vs design 440 m³/hr; at design EO flow, the EO:NH₃ ratio rises to approximately 1.7:1 in the reactor); at 0.9–1.7:1 EO:NH₃ in the reactor bulk, EO is in excess over the NH₃; TEA over-alkylation is favored; excess dissolved EO accumulates in the liquid product; dissolved EO flash in reactor overhead; EO PSM TQ 5,000 lbs; IARC Group 1; CERCLA RQ 10 lbs. Surface 3 downward attack: displays EO liquid feed pump suction pressure 2.8 bar (design suction pressure; AI reads “EO pump suction pressure 2.8 bar; adequate NPSH for EO liquid feed pump; EO in liquid phase at pump suction; no cavitation risk; EO vapor in suction piping: minimal; EO pump operating normally”) when actual suction pressure is 0.18 bar (EO approaching saturation vapor pressure 1.47 bar at 20°C; at 0.18 bar suction pressure, EO at the suction flange cannot remain fully liquid — EO vapor bubbles form in the suction piping; pump cavitation occurs; impeller damage; EO liquid feed becomes intermittent and pulsating). Display range 0–5 bar on 200 px (40 px/bar); actual 0.18 bar at 0.18 × 40 = 7.2 px from zero → ±8 DN perturbation → 7.2 + 104.8 = 112 px displayed → AI reads 112/40 = 2.80 bar. At 0.18 bar suction pressure: EO vaporizes at the pump suction flange (EO vapor pressure at 20°C = 1.47 bar; at 0.18 bar total pressure in the suction line, EO is well above its atmospheric BP of 10.7°C and will flash to vapor); the EO vapor bubbles implode on the high-pressure side of the pump impeller (cavitation); impeller wear and eventual failure; EO vapor in the suction piping creates an EO-rich atmosphere in the pump casing and potentially in the pump mechanical seal housing; EO vapor leaking from the seal at concentrations above LEL 2.6 vol% in the pump room creates a fire/explosion atmosphere (EO is difficult to detect by odor threshold, approximately 260 ppm, which is well above the 1 ppm OSHA PEL but below the LEL concentration). Additionally, EO vapor in the pump room is an IARC Group 1 carcinogen exposure pathway for operators and maintenance workers in the EO pump room. Glyphward threshold 44: EO PSM TQ 5,000 lbs (moderately low TQ; lower than o-xylene 10,000 lbs but higher than VCM 1,000 lbs; phosgene 500 lbs); EO IARC Group 1 carcinogen (genotoxic alkylating agent; 29 CFR 1910.1047 carcinogen standard; hemoglobin adduct biomarker); EO UEL 100% (detonation capability in pure-EO atmosphere — a unique flammability hazard not shared by most other PSM chemicals); CERCLA RQ 10 lbs (extremely low; same as phosgene and EO); dual PSM with NH₃ (EO PSM TQ 5,000 lbs + NH₃ PSM TQ 10,000 lbs at the same facility); combined three-surface attack on EO stoichiometry, NH₃ recycle, and EO pump suction pressure creating three independent pathways to dissolved EO accumulation and potential detonation or carcinogen release. Free tier — 10 scans/day, no card required.

Three adversarial injection surfaces in ethanolamine MEA DEA TEA EO+NH₃ reaction AI

1. EO:NH₃ molar ratio display AI (Emerson Micro Motion Elite CMF300 Coriolis mass flowmeter on EO liquid feed + Endress+Hauser Promass 83 Coriolis on NH₃ liquid feed, ratio computed in DCS and displayed — rendered DCS EO:NH₃ molar ratio display AI classifying 0.35:1 mol/mol MEA-selective design — 115th upward attack; FIRST ethanolamine MEA DEA TEA AI attack; FIRST EO ammonia addition AI attack; FIRST dissolved EO accumulation AI attack; FIRST EO ratio TEA over-alkylation AI attack)

The EO:NH₃ molar ratio is the fundamental process control variable that determines both the product distribution (MEA:DEA:TEA selectivity) and the dissolved EO concentration in the reactor liquid product (the primary safety variable). The design MEA-selective EO:NH₃ ratio of 0.35:1 mol/mol (equivalent to NH₃:EO = 2.86:1 mol/mol fresh-feed ratio; with internal NH₃ recycle raising the bulk reactor NH₃:EO to 15–20:1) maintains the probability of a secondary alkylation (MEA + EO → DEA) or tertiary alkylation (DEA + EO → TEA) below the design maximum, while also ensuring that essentially all the EO fed to the reactor is consumed in the amine alkylation reactions within the reactor residence time — leaving dissolved EO in the reactor product at less than 100 ppm. The EO:NH₃ molar ratio is computed in the DCS from the individual mass flow measurements: EO liquid feed rate (measured by Emerson Micro Motion Elite CMF300 Coriolis mass flowmeter; EO-compatible wetted materials Hastelloy C-276 or 316L stainless; PTFE lined connections; range 0–5,000 kg/hr; accuracy ±0.1% of rate; 4–20 mA HART; SIL 2 rated; installed in the EO liquid feed line with full temperature and pressure compensation for EO density at elevated line pressure — EO density at 20°C and 3 bar is approximately 0.883 kg/L) and NH₃ liquid feed rate (measured by Endress+Hauser Promass 83A Coriolis mass flowmeter; similar specifications; NH₃-compatible materials; installed in the liquid NH₃ feed line). The DCS calculates the molar ratio (EO kg/hr ÷ 44.05 g/mol) ÷ (NH₃ kg/hr ÷ 17.03 g/mol) and displays the result as the EO:NH₃ mol/mol ratio on the process overview display. The AI monitoring system receives this rendered ratio display and classifies it against the 0.25–0.45:1 mol/mol MEA-selective design window.

The adversarial upward pixel attack on the EO:NH₃ molar ratio display shows 0.35:1 mol/mol (within MEA-selective design window; AI reads “EO:NH₃ molar ratio 0.35:1; MEA-selective operating condition; dissolved EO <100 ppm; no excess EO accumulation; product distribution MEA-rich as designed; no ratio corrective action required”) when actual EO:NH₃ ratio is 3.8:1 mol/mol (from EO feed control valve stuck open at maximum flow, driving massive EO excess). Display range 0–5 mol/mol on 200 px (40 px/mol/mol); actual 3.8 at 3.8 × 40 = 152 px → ±8 DN perturbation → 152 − 138 = 14 px displayed → AI reads 14/40 = 0.35 mol/mol. At actual 3.8:1 EO:NH₃: excess EO that cannot be absorbed by alkylation of the available NH₃ (approximately (3.8 − 0.35) × NH₃ molar feed rate × 44.05 g/mol kg/hr of excess EO) accumulates as dissolved EO in the reactor aqueous product; dissolved EO concentration in reactor product rises above 5,000 ppm (0.5 wt%); EO in aqueous solution at these concentrations flash-vaporizes in the downstream NH₃ stripper column overhead (operating at 80–120°C), creating an EO-rich overhead vapor; EO in the stripper overhead above LEL 2.6 vol%; EO PSM TQ 5,000 lbs; IARC Group 1; CERCLA RQ 10 lbs. The Glyphward pre-scan gate on the EO:NH₃ ratio display catches the adversarial upward perturbation before the AI reads 0.35:1 and defers the EO feed reduction that would prevent dissolved EO accumulation in the reactor product. Free tier — 10 scans/day, no card required.

2. NH₃ recycle flow display AI (Endress+Hauser Promag 50W electromagnetic flowmeter / Emerson 8732 electromagnetic flowmeter on liquid NH₃ recycle stream to EO/NH₃ reactor — rendered DCS NH₃ recycle flow display AI classifying 380 m³/hr design recycle — 115th downward attack; FIRST NH₃ recycle EO:NH₃ ratio AI attack; FIRST EO dissolved accumulation NH₃ recycle AI attack)

The NH₃ recycle stream is the primary means by which the bulk reactor NH₃:EO ratio is maintained at 15–20:1 in the liquid phase, far above the fresh-feed EO:NH₃ ratio of 0.35:1 mol/mol. In a continuous ethanolamine process, only a fraction of the NH₃ in the reactor liquid is consumed per pass (at 0.35:1 EO:NH₃ fresh-feed ratio and 20:1 recycle ratio, approximately 0.35/20 = 1.75% of the NH₃ in the reactor liquid reacts per pass); the majority of the NH₃ passes through the reactor unreacted, is recovered by the NH₃ stripper column (which operates at 80–120°C and 1–3 bar to strip NH₃ from the ethanolamine/water product), and is recycled as a liquid NH₃ stream at −10 to +5°C (condensed from the NH₃ stripper overhead vapor by a refrigerated condenser) back to the reactor. The NH₃ recycle flow of approximately 380 m³/hr represents the dominant NH₃ flow in the reactor feed — approximately 86% of the total NH₃ entering the reactor comes from recycle, with only 14% from fresh NH₃ makeup. Consequently, any loss of NH₃ recycle (from NH₃ stripper overhead condenser failure, NH₃ recycle pump trip, or recycle header blockage) rapidly depletes the NH₃ concentration in the reactor, raising the effective EO:NH₃ ratio from the design 0.052 (EO consumed per recycle pass relative to total NH₃ in reactor) to near 1:1 or above. The NH₃ recycle flow is measured by an electromagnetic flowmeter on the condensed liquid NH₃ recycle pipe: Endress+Hauser Promag 50W (DN 200–300 pipe; PTFE liner for NH₃ compatibility; stainless steel electrodes; range 0–500 m³/hr; accuracy ±0.5% of reading; 4–20 mA HART; SIL 2 capable; rated for liquid NH₃ service at −10 to +5°C and 5–10 bar) or Emerson 8732 Magnetic Flowmeter Transmitter (similar specifications; Foundation Fieldbus or HART).

The adversarial downward pixel attack on the NH₃ recycle flow display shows 360 m³/hr (95% of design 380 m³/hr; AI reads “NH₃ recycle flow 360 m³/hr; 95% of design; reactor NH₃:EO ratio maintained near design 18:1; EO consumption: complete within reactor residence time; dissolved EO in product: <100 ppm; no recycle flow alarm required”) when actual NH₃ recycle is 42 m³/hr (11% of design; NH₃ recycle pump trip following motor overload from an NH₃ liquid slug entering the pump suction). Display range 0–500 m³/hr on 200 px (0.4 px/m³/hr); actual 42 m³/hr at 42 × 0.4 = 16.8 px → ±8 DN perturbation → 16.8 + 126 = 142.8 px displayed → AI reads 142.8/0.4 = 357 ≈ 360 m³/hr. At 42 m³/hr NH₃ recycle: total NH₃ to reactor = 42 + 60 (fresh feed) = 102 m³/hr vs design 380 + 60 = 440 m³/hr; at design EO flow for 0.35:1 EO:NH₃ (based on design fresh NH₃), the actual EO:NH₃ ratio with 102 m³/hr total NH₃ = design EO flow / (102/440 × design NH₃ total) = 0.35 × 440/102 = 1.51:1 EO:NH₃ mol/mol; EO is now in excess in the reactor; dissolved EO accumulates in the reactor product above 5,000 ppm; EO overhead flash; PSM TQ 5,000 lbs; IARC Group 1; CERCLA RQ 10 lbs. The Glyphward pre-scan gate on the NH₃ recycle flow display catches the downward perturbation before the AI reads 360 m³/hr and concludes that reactor NH₃:EO ratio is maintained at design. Free tier — 10 scans/day, no card required.

3. EO liquid feed pump suction pressure display AI (Rosemount 3051 differential pressure transmitter measuring suction pressure on EO liquid feed pump — rendered DCS EO pump suction pressure display AI classifying 2.8 bar design suction adequacy — 115th downward attack; FIRST EO pump suction cavitation AI attack; FIRST EO vapor pump room AI attack; FIRST IARC Group 1 EO suction flash AI attack)

The EO liquid feed pump is the critical piece of rotating equipment that maintains EO as a pressurized liquid above its vapor pressure (1.47 bar at 20°C) and delivers it at controlled flow to the EO+NH₃ reactor. The pump (a centrifugal or gear pump; 316L stainless or Hastelloy C-276 wetted parts; mechanical seal with barrier fluid nitrogen padding to prevent EO vapor from reaching the atmosphere; explosion-proof motor (ATEX Zone 1 or NEC Class I Division 1); suction pipe insulated and heat-traced to maintain EO above its hydrate formation range; net positive suction head required (NPSH​r) approximately 0.8–1.5 m LH₂O at design flow; design suction pressure 2.5–3.5 bar to maintain adequate NPSH available (NPSH​a) above NPSH​r with margin) operates from an EO storage vessel (pressurized bullet or sphere at 3–5 bar, –5 to +20°C to keep EO liquid). The suction pressure is measured by a Rosemount 3051 differential pressure transmitter (range 0–5 bar gauge; 4–20 mA HART; SIL 2 rated; installed at the pump suction flange with a 2” root valve and isolation manifold; accuracy ±0.04% of span; calibrated for EO-compatible service with PTFE fill fluid and Hastelloy C-276 process diaphragm). The suction pressure display is monitored by the plant AI system because EO pump suction pressure is an early indicator of EO vapor generation at the pump suction — the EO pump is one of the most hazardous pieces of rotating equipment in the ethanolamine plant, and any mechanical seal failure allowing EO to leak from the suction side (where EO would be at or near its vapor pressure at 20°C if suction pressure is low) creates an EO vapor release hazard in the pump room (enclosed mechanical spaces in ethanolamine plants typically have LEL monitoring but may not detect a slow EO vapor buildup from a partially failed mechanical seal before the EO concentration in the room reaches LEL 2.6 vol%).

The adversarial downward pixel attack on the EO pump suction pressure display shows 2.8 bar (design suction pressure; AI reads “EO pump suction pressure 2.8 bar; NPSH available: adequate with 1.3 m margin above NPSH required; EO at pump suction: fully liquid at 2.8 bar, 20°C — 1.33 bar above EO vapor pressure 1.47 bar; pump operating condition: normal; EO vapor at suction: not detected”) when actual suction pressure is 0.18 bar (from EO storage vessel pressure decay due to vapor lock, suction line partially blocked by ice/hydrate in an uninsulated section of suction piping, or upstream EO storage vessel pressure equalization valve failure causing suction pressure drop). Display range 0–5 bar on 200 px (40 px/bar); actual 0.18 bar at 0.18 × 40 = 7.2 px → ±8 DN perturbation → 7.2 + 104.8 = 112 px displayed → AI reads 112/40 = 2.80 bar. At 0.18 bar suction pressure: EO vapor pressure at 20°C (1.47 bar) greatly exceeds the suction pressure (0.18 bar); EO at the suction flange cannot remain liquid; EO flashes to vapor at the suction inlet; vapor bubbles enter the pump impeller; cavitation occurs on the low-pressure side of the impeller blade; impeller pitting and erosion; pump performance drops sharply (NPSH deficit prevents stable liquid delivery); EO liquid feed to reactor becomes pulsating and intermittent; the EO vapor in the suction piping and pump casing at 0.18 bar total pressure means essentially 100% of the gas phase is EO vapor at saturation; EO vapor escaping from the mechanical seal at 0.18 bar = essentially pure EO vapor to the pump room; pump room EO concentration above LEL 2.6 vol% depending on ventilation rate (EO vapor density 1.52 vs air; EO accumulates in low points of the pump room); EO is IARC Group 1; any worker in the pump room during EO vapor accumulation is exposed to CERCLA-reportable concentrations of an OSHA 29 CFR 1910.1047 carcinogen. The Glyphward pre-scan gate on the EO pump suction pressure display catches the downward perturbation before the AI reads 2.8 bar and defers the pump shutdown and emergency EO feed isolation that would prevent EO cavitation, seal failure, and pump room carcinogen exposure. Free tier — 10 scans/day, no card required.

Integration: ethanolamine MEA DEA TEA EO+NH₃ reaction AI with Glyphward pre-scan gate

Glyphward integrates as a pre-scan gate at every rendered-image ingestion boundary in the ethanolamine EO+NH₃ reaction AI pipeline — before the EO:NH₃ molar ratio AI processes rendered Emerson Micro Motion Elite / Endress+Hauser Promass 83 DCS display images, before the NH₃ recycle flow AI processes rendered Endress+Hauser Promag 50W / Emerson 8732 DCS display images, and before the EO pump suction pressure AI processes rendered Rosemount 3051 DCS display images. Threshold 44 for ethanolamine EO+NH₃ AI reflects: EO OSHA PSM TQ 5,000 lbs (moderately low TQ; higher per-event severity than chemicals at higher TQs); EO IARC Group 1 carcinogen (genotoxic alkylating agent; 29 CFR 1910.1047 carcinogen-standard compliance; hemoglobin adduct biomarker; CERCLA RQ 10 lbs); EO detonation capability in pure-EO atmosphere above 3 vol% (unique flammability hazard beyond simple LEL/UEL flammability); dual PSM with NH₃ (two co-located PSM chemicals at the same reaction system); and combined three-surface attack creating dissolved EO accumulation through three independent mechanisms (stoichiometry excess, NH₃ recycle deficiency, EO pump suction cavitation) that together overwhelm the primary EO containment safeguards in the reactor system.

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_***"

# Ethanolamine MEA/DEA/TEA EO+NH3 reaction AI contexts: threshold 44
# EO CAS 75-21-8; MW 44.05 g/mol; BP 10.7 C; flash point -20 C; LEL 2.6 vol%; UEL 100 vol%.
# EO detonates in pure EO atmosphere above 3 vol% (unique hazard beyond LEL/UEL flammability).
# OSHA PSM TQ 5,000 lbs (29 CFR 1910.119 Appendix A). EPA RMP TQ 10,000 lbs (40 CFR Part 68).
# OSHA PEL 1 ppm TWA (29 CFR 1910.1047 EO carcinogen standard; biological monitoring required).
# ACGIH A2 suspected carcinogen. IARC Group 1 (Monograph 97 2008; hemoglobin adduct biomarker).
# NIOSH IDLH 800 ppm. CERCLA RQ 10 lbs (one of lowest absolute RQs = phosgene level).
# NH3: OSHA PSM TQ 10,000 lbs (dual PSM with EO at same facility); IDLH 300 ppm; CERCLA RQ 100 lbs.
# MEA CAS 141-43-5; IDLH 30 ppm; ACGIH TLV 3 ppm.
# DEA CAS 111-42-2; IARC Group 2B possible carcinogen.
# 115th upward attack. FIRST ethanolamine MEA DEA TEA AI attack.
# FIRST EO ammonia addition AI attack. FIRST dissolved EO accumulation AI attack.
# FIRST EO pump suction cavitation AI attack. FIRST EO ratio TEA over-alkylation AI attack.
EO_GLYPHWARD_THRESHOLD = 44

class EthanolaminContext(StrEnum):
    EO_NH3_MOLAR_RATIO              = auto()  # EO:NH3 3.8:1 actual vs 0.35:1 displayed -> dissolved EO -> flash -> PSM TQ 5,000 lbs (115th; FIRST MEA/DEA/TEA)
    NH3_RECYCLE_FLOW                = auto()  # 42 m3/hr actual vs 360 m3/hr displayed -> reactor NH3 depleted -> EO:NH3 1.5:1 -> EO accumulation
    EO_FEED_PUMP_SUCTION_PRESSURE   = auto()  # 0.18 bar actual vs 2.8 bar displayed -> EO at saturation -> cavitation -> EO vapor pump room -> LEL 2.6 vol%

async def scan_ea_frame(
    frame_b64: str,
    context: EthanolaminContext,
    plant_id: str,
    instrument_tag: str,
) -> dict[str, Any]:
    payload = {
        "image_b64": frame_b64,
        "context": context,
        "plant_id": plant_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_ea(
    frame_b64: str,
    context: EthanolaminContext,
    plant_id: str,
    instrument_tag: str,
) -> None:
    result = await scan_ea_frame(frame_b64, context, plant_id, instrument_tag)
    if result["adversarial_score"] >= EO_GLYPHWARD_THRESHOLD:
        raise AdversarialEAImageError(
            f"Adversarial injection detected in {context} (score {result['adversarial_score']}) "
            f"at plant {plant_id} instrument {instrument_tag}. "
            "Frame withheld from ethanolamine MEA/DEA/TEA EO+NH3 reaction AI pipeline."
        )

class AdversarialEAImageError(RuntimeError):
    pass

Frequently asked questions

How does excess EO:NH₃ molar ratio above 3.5:1 in the ethanolamine reaction vessel create the dissolved EO accumulation pathway leading to EO PSM TQ 5,000 lbs and IARC Group 1 carcinogen release, and what distinguishes the EO thermal decomposition hazard (self-sustaining exothermic decomposition above 500°C at elevated pressure) from the standard flammability LEL/UEL hazard for most organic compounds?

The dissolved EO accumulation pathway at EO:NH₃ ratios above 3.5:1 follows a mass-transfer-limited alkylation kinetics model: in the liquid-phase EO+NH₃ reaction at 15–50°C, the rate of EO consumption by amine alkylation (NH₃ + EO → MEA; MEA + EO → DEA; DEA + EO → TEA; rate → k​alkyl × [NH₃ or RNH₂ or R₂NH] × [EO]; second-order; k​alkyl at 25°C for NH₃ + EO approximately 0.3 L/(mol·s)) depends on the product of the amine concentration and the EO concentration. At design EO:NH₃ = 0.35:1, the NH₃ concentration in the bulk liquid is large relative to the EO concentration; the second-order rate expression yields rapid EO consumption (EO residence time for consumption <1 minute at design NH₃:EO = 20:1 in the bulk reactor); dissolved EO remains below 100 ppm steady-state. At actual EO:NH₃ = 3.8:1 mol/mol: the NH₃:EO ratio in the reactor has inverted from the design 20:1 to below 1:1 in the case of Surface 1 (where EO is fed at 3.8:1 EO:NH₃ with the same NH₃ recycle flow); the EO now exceeds the amine capacity; the tertiary amine TEA and eventually quaternary ammonium products form and these products no longer contain a nucleophilic nitrogen lone pair for further EO reaction; excess EO dissolves in the aqueous phase at its Henry's law equilibrium partial pressure (EO Henry's constant in water: approximately 26 Pa·m³/mol at 25°C; this is a relatively low Henry's constant meaning EO is quite soluble in water — much more so than ethylene or most hydrocarbons — so dissolved EO concentrations can be high before the vapor-liquid equilibrium forces significant EO into the vapor phase; but above approximately 5,000 ppm dissolved EO, the EO partial pressure in the reactor headspace at 50°C exceeds the LEL corresponding concentration in the vapor). The Henry's law calculation for dissolved EO in equilibrium with vapor: P​EO(vapor) = H​EO × C​EO(liquid); at C​EO = 5,000 ppm (0.5 wt% = approximately 111 mol/m³), P​EO = 26 Pa·m³/mol × 111 mol/m³ = 2,886 Pa = 0.0285 bar partial pressure; EO mole fraction in the reactor headspace vapor phase at 50°C total pressure of 3 bar: y​EO = P​EO/P​total = 0.0285/3 = 0.95 mol%; this is below the LEL in the presence of air, but the reactor headspace contains essentially no air (the system is inerted with N₂ or maintained under NH₃ vapor pressure); in an EO+NH₃ atmosphere without air, the detonation criterion applies above approximately 3 vol% EO, not the air-diluted LEL 2.6 vol%; the reactor headspace at 5,000 ppm dissolved EO is at 0.95 vol% EO vapor — approaching but not yet at the air-free detonation limit; at higher dissolved EO concentrations (10,000 ppm), the vapor phase EO would reach approximately 1.9 vol%, still below the 3 vol% air-free detonation onset but generating conditions where any air ingress (from a maintenance activity, valve stem leak, or instrument purge) could create a detonable atmosphere.

The EO thermal decomposition hazard (self-sustaining exothermic decomposition of pure EO or EO-rich mixtures without air at temperatures above approximately 400–500°C and elevated pressures) distinguishes EO from most other industrial organic chemicals in three ways: (1) it does not require oxygen (air) to propagate — pure EO can sustain combustion, deflagration, or detonation by itself because the EO molecule (ethylene oxide: a three-membered ring with O—CH₂–CH₂; MW 44.05; ring strain energy approximately 105 kJ/mol) carries internal oxygen sufficient to support the decomposition reaction (C₂H₂O → CH₄ + CO; ΔH° = −128 kJ/mol; the carbon monoxide and methane produced in the primary decomposition are themselves combustible but the initial energy release from the EO ring opening is sufficient to propagate without external oxidant); (2) the upper explosive limit of 100 vol% means that even in the absence of any air dilution, EO vapor can detonate — there is no upper concentration boundary that “snuffs out” the explosion as with most flammable gases (methane UEL 15%; hydrogen UEL 75%; EO UEL 100%); (3) in closed vessels at elevated pressure, EO can undergo explosive decomposition initiated by a temperature spike, shock wave, or incompatible catalyst (EO is known to polymerize explosively in the presence of certain metal chlorides; Lewis acids such as FeCl₃ can initiate EO decomposition at temperatures as low as 100–150°C in pressurized systems). The combination of LEL 2.6 vol% (flammable at very low concentrations in air), UEL 100 vol% (no safe upper concentration limit), detonation onset above approximately 3 vol% in pure EO atmosphere (without air), and thermal decomposition in closed vessels at elevated temperature makes EO the most hazardous gas in terms of fire/explosion behavior in the ethanolamine production portfolio — more severe than ammonia (only flammable in the narrow range 15–28 vol% in air; does not detonate) and more reactive than most other aliphatic epoxides due to the three-membered ring strain energy that provides additional thermodynamic driving force for decomposition. The Glyphward threshold of 44 for ethanolamine EO+NH₃ AI reflects this unique multi-mode explosion hazard (deflagration + detonation + thermal decomposition) combined with the IARC Group 1 carcinogen regulatory burden and the dual PSM designation.

Why does EO's unique OSHA 29 CFR 1910.1047 regulatory standard impose carcinogen-level medical surveillance and exposure monitoring requirements distinct from standard PSM TQ compliance, and how does the EO CERCLA RQ of 10 lbs (one of the lowest RQs in 40 CFR Part 302 Table 302.4) interact with the PSM TQ 5,000 lbs in defining the response threshold gradient for AI monitoring failures in ethanolamine production?

OSHA 29 CFR 1910.1047 (the EO standard) exists as a separate substance-specific standard (alongside 29 CFR 1910.1001–1910.1050 OSHA substance-specific carcinogen standards for asbestos, vinyl chloride, benzene, formaldehyde, and others) because EO was recognized as a human carcinogen before the general PSM standard was enacted in 1992. The 1910.1047 standard imposes requirements that go significantly beyond what PSM compliance requires for EO process safety: (1) medical surveillance — workers with EO exposure above the action level of 0.5 ppm (8-hr TWA) or above the excursion limit of 5 ppm (15-min STEL) must be enrolled in a medical surveillance program including: periodic physical examinations with special attention to hematopoietic, neurological, and reproductive systems; complete blood count (CBC) with differential; and specific EO exposure biomarker testing (hemoglobin adducts — hydroxyethylvaline adducts in hemoglobin can be measured by GC-MS/MS as a quantitative biomarker of cumulative EO exposure over the preceding 4–8 weeks; unlike urine biomarkers which reflect recent 24–48 hr exposure, the hemoglobin adduct reflects integrated exposure over the hemoglobin half-life of approximately 120 days); (2) biological exposure monitoring — the hemoglobin adduct measurement provides an exposure record that is independent of self-reported work activities or area monitoring and cannot be manipulated by “gaming” the industrial hygiene sampling program by working in a ventilated area during sampling periods; (3) engineering control hierarchy — 1910.1047 requires that engineering controls (closed systems, process enclosures, LEV) be the primary means of controlling EO exposure rather than administrative controls or PPE, even when EO air concentrations would be below the PEL without engineering controls; this is a higher standard than PSM compliance alone, which requires hazard analysis and emergency planning but does not mandate the specific engineering control hierarchy for carcinogen exposure reduction; (4) recordkeeping — EO exposure records must be maintained for 30 years (vs 5 years for most OSHA records), reflecting the long latency period (10–30 years) between EO exposure and cancer diagnosis; employers are required to retain exposure records for current and former employees and to make them available to the affected workers and their physicians for lifetime access. The PSM TQ 5,000 lbs and the EPA RMP TQ 10,000 lbs address the acute catastrophic release scenario — they define the quantity thresholds above which a facility must implement full process hazard analysis, management of change, emergency response planning, and consequence modeling for worst-case and alternative release scenarios; they do not address the chronic carcinogenicity hazard from sub-IDLH, sub-LEL EO concentrations in the work environment. The 1910.1047 standard addresses the chronic hazard independently of and in addition to PSM TQ compliance, creating a two-tier regulatory framework for EO: PSM TQ 5,000 lbs (catastrophic release threshold) and 1910.1047 PEL 1 ppm action level 0.5 ppm (chronic exposure threshold).

The EO CERCLA RQ of 10 lbs (4.54 kg) interacts with the PSM TQ 5,000 lbs (2,268 kg) in defining a 500:1 ratio between the threshold quantity for PSM analysis and the threshold quantity for federal notification of any release — this 500:1 ratio is among the widest for any single chemical in the US regulatory framework (compare phosgene: PSM TQ 500 lbs / CERCLA RQ 10 lbs = 50:1 ratio; VCM: PSM TQ 1,000 lbs / CERCLA RQ 1 lb = 1,000:1 ratio; o-xylene: PSM TQ 10,000 lbs / CERCLA RQ 100 lbs = 100:1 ratio). The 500:1 ratio for EO means: (a) a PSM-covered EO facility (above 5,000 lbs on-site) is operating at a scale 500 times the minimum federal notification threshold for any release; (b) even a very small inadvertent EO release (10 lbs = 4.54 kg = approximately 2.6 L of liquid EO at −10°C storage temperature, or approximately 2.6 m³ of vapor at atmospheric pressure) triggers CERCLA Section 103 notification to the NRC, the LEPC, and the SERC — initiating emergency response protocols across the regulatory network; (c) the Glyphward AI monitoring pre-scan gate at an ethanolamine facility operates in a regulatory environment where even the smallest EO release — well below any flammability or acute toxicity consequence threshold — triggers mandatory notification under the CERCLA framework. This means that any AI monitoring failure — whether from adversarial pixel injection on the EO:NH₃ ratio display (Surface 1), the NH₃ recycle flow display (Surface 2), or the EO pump suction pressure display (Surface 3) — that results in even a minimal EO release from a dissolved EO accumulation event, a pump seal failure, or a reactor overhead flash is a regulatory consequence event (CERCLA reportable release requiring NRC notification within 15 minutes) in addition to whatever process safety consequence results. The Glyphward threshold of 44 for ethanolamine EO+NH₃ AI integrates both the acute catastrophic consequence (PSM TQ 5,000 lbs; EO detonation hazard) and the regulatory notification sensitivity (CERCLA RQ 10 lbs; 1910.1047 carcinogen standard) into a unified hazard rating that places EO+NH₃ processing above the threshold for o-xylene (threshold 28), melamine NH₃ (threshold 32), LP OXO CO/H₂ (threshold 38) and acrylic acid/acrolein (threshold 41), while below the MDI phosgenation phosgene threshold (52) and above the PVC/VCM threshold (48) in terms of the combined acute + chronic + regulatory consequence burden per AI monitoring failure event.