ArchitectureChemicals
Connecting an AI optimizer to your DCS while keeping the safety instrumented system independent
An AI optimizer earns a place in a chemical plant only if it fits the control hierarchy that already exists. It should advise operators or set targets above advanced process control, stay outside the safety instrumented system, cross the OT network through defined conduits and pass the same change control as any other modification. Below is a layered reference architecture, three integration modes and the evidence needed to move between them.
On this page
- Where an optimizer fits in a chemical plant's control hierarchy
- Reference architecture: optimizer above APC, safety system apart
- Advisory, operator-confirmed and closed-loop supervisory modes
- Keep the optimizer out of the safety instrumented system
- Network path through Purdue levels, the DMZ and IEC 62443 conduits
- How a bounded target reaches the controller
- Constraint handling and fallback when the model is unsure
- Change control duties when a model is introduced or retrained
- Energy optimization on a distillation column train
- Matching the level of autonomy to the unit
- Questions and answers
- Sources
Where an optimizer fits in a chemical plant's control hierarchy
A chemical plant already has layers of control. The DCS runs regulatory loops that hold flows, temperatures, pressures and levels at setpoint. Advanced process control, usually model predictive control, moves those setpoints together to run units closer to their constraints, and some sites add real-time optimization that recalculates economic targets from a steady-state model. Apart from all of this, the safety instrumented system has its own sensors, logic solver and final elements, and acts only on demand.
An AI optimizer is best treated as a new kind of optimization layer: it proposes targets for APC, or recommendations for operators, and nothing else. The NAMUR Open Architecture concept describes a similar second channel for monitoring and optimization beside the core automation. ColdAI's chemical work treats this boundary as a design input from the first plant and process audit onward6.
Reference architecture: optimizer above APC, safety system apart
- Enterprise and planning
Production plans and energy prices that set the economic objective; no path to control.
- Site DMZ
Replicated historian data for analytics; remote and cloud access ends here.
- Optimizer and historian
An on-site host that computes targets, logs every proposal and enforces limits.
- APC / MPC
Receives bounded targets and keeps its own constraint handling as the fallback.
- DCS regulatory control
PID loops and the operator HMI; any loop can be taken to manual.
- Safety instrumented system
Independent sensors, logic and final elements; read-only data out, nothing written in.
Advisory, operator-confirmed and closed-loop supervisory modes
| Criterion | Advisory | Operator-confirmed | Closed-loop supervisory |
|---|---|---|---|
| What the optimizer writes | Nothing; recommendations on a display | A proposed target the operator accepts or rejects | Bounded targets to APC on a fixed cycle |
| Who acts | The operator, by hand | The operator, with one action | The optimizer, with operator override at any time |
| Prerequisites | Clean historian data and an agreed objective | A guarded write path and an approved change | Stable APC, validated analyzers, tested watchdog and fallback |
| Main risk | Advice ignored or misread | Operators accept without checking | Interaction with APC and unseen extrapolation |
| How to switch it off | Close the display | Disable the write path | Watchdog reverts to standing APC targets |
| Evidence to move up | Advice tracked against operator actions and outcomes | Rejections explained and no limit excursions | Highest mode; extend to the next unit on the same evidence |
Moving between modes is a management-of-change decision, not a configuration toggle.
Keep the optimizer out of the safety instrumented system
Network path through Purdue levels, the DMZ and IEC 62443 conduits
Advisory analytics can run off-site on data replicated to the DMZ, ideally through a one-way data diode so nothing travels back toward control. Anything that writes targets should run on an on-site host, reach APC through one defined conduit with an allow-list of tags and value ranges, and keep working if the internet link drops. IEC 62443 supplies the vocabulary: group assets into zones by risk, define each conduit between them and set a target security level per zone2.
How a bounded target reaches the controller
- Optimizer
Computes targets from current data and the economic objective.
- Limit guard
Checks hard limits, rate of change, data validity and model confidence.
- Operator HMI
Shows the proposal, its reasons and an accept or reject choice.
- APC controller
Applies the target within its own constraints.
- DCS loops
Regulatory control that moves the valves.
Constraint handling and fallback when the model is unsure
The model extrapolates
Early signalInputs outside the training range, such as a new feedstock or aged catalyst.
MitigationCheck inputs against the training envelope and fall back to standing APC targets when it is exceeded.
An analyzer fails quietly
Early signalFrozen, flat-lined or out-of-range quality readings.
MitigationValidate inputs every cycle and suspend optimization of the variables a bad analyzer informs.
Optimizer and APC fight
Early signalOscillating targets, or APC repeatedly hitting move limits.
MitigationApply rate-of-change limits, cycle slower than APC and tune during the advisory stage.
Recommendations add alarm load
Early signalOperators acknowledge optimizer messages as nuisances.
MitigationShow advice outside the alarm system; any new alarm goes through ISA-18.2 rationalization3.
Change control duties when a model is introduced or retrained
OSHA Process Safety Management, 29 CFR 1910.119[^4]
United StatesApplies whenA process involves listed highly hazardous chemicals, or flammable liquids or gases, above threshold quantities4.
Seveso III Directive 2012/18/EU[^5]
European Union, through national lawApplies whenAn establishment holds dangerous substances at or above the lower-tier or upper-tier thresholds5.
IEC 61511-1, functional safety of safety instrumented systems[^1]
International standard, widely recognized as good practiceApplies whenA change could affect a safety instrumented function or the assumptions behind its integrity assessment1.
- Analyze the safety impact before the change and follow the SIS modification procedure1.
Energy optimization on a distillation column train
Matching the level of autonomy to the unit
- If
A continuous unit with well-tuned APC, reliable analyzers and stable feed.
ThenPlan for bounded closed-loop supervisory control after an operator-confirmed period.
APC already handles constraints, so the optimizer only shifts targets within a proven envelope.
- If
Weak base-layer tuning or no APC.
ThenFix loops and deploy APC first, running the AI in advisory mode meanwhile.
No optimizer compensates for valves in manual and oscillating loops.
- If
An exothermic reactor with runaway potential.
ThenAdvisory or operator-confirmed only, within limits agreed in the hazard review.
A wrong target there has consequences beyond cost.
- If
A batch or multi-product plant.
ThenRecommendations at phase boundaries, confirmed against the approved recipe.
Recipes and their approvals govern what may change within a batch.
- If
Utilities such as steam, cooling water and compressed air.
ThenOften the first closed-loop candidates.
Failures are mostly economic and the physics is well understood.
Questions and answers
Does an AI optimizer need its own SIL rating?
Not if it performs no safety function and is never credited as a protection layer. The hazard review should still confirm independence: the optimizer shares no logic solver or final elements with the SIS, and the effect of a wrong target is covered by existing alarms and trips. A functional safety engineer should record that conclusion.
Can the optimizer run in the cloud?
For advisory work, yes, using data replicated to the DMZ. For writing targets, an on-site host is the safer design: a cloud dependency adds latency, a failure mode when connectivity drops and a path toward the control network that each IEC 62443 conduit would need to justify2. Training in the cloud and running inference on site is a common split.
How is a machine learning optimizer different from traditional real-time optimization?
Traditional RTO fits a first-principles steady-state model to the plant and solves it for economic targets. A machine learning optimizer learns behavior from data, which helps where no good first-principles model exists, but extrapolates poorly. Hybrid designs keep physical structure and learn the corrections, an approach close to the digital twin work many sites already run.
Do refineries and petrochemical sites follow the same pattern?
Yes. The hierarchy, the separation from the SIS and the change-control duties are the same; refineries often have more APC in place, which makes supervisory modes reachable sooner. Sector-specific topics such as pipeline integrity and flow metering are covered on our oil and gas page.
Sources
- IEC 61511-1:2016+AMD1:2017 Functional safety: safety instrumented systems for the process industry sector, Part 1 — International Electrotechnical Commission · checked 10 October 2026
- ISA/IEC 62443 Series of Standards — International Society of Automation · checked 10 October 2026
- ISA-18 Series of Standards (ANSI/ISA-18.2, Management of Alarm Systems for the Process Industries) — International Society of Automation · checked 10 October 2026
- 29 CFR 1910.119 Process safety management of highly hazardous chemicals — US Occupational Safety and Health Administration · checked 10 October 2026
- Directive 2012/18/EU on the control of major-accident hazards involving dangerous substances (Seveso III) — EUR-Lex · checked 10 October 2026
- AI for chemical manufacturing: delivery process and safety-first design — ColdAI