By Muhammad Umar. This is the engineering summary of an open industrial AI reference architecture from CodeNinja Atoms, one of the published designs behind our page on industrial AI. The paper, its object model as JSON and the model register are free to reuse under CC BY 4.0: https://codeatoms.ai/fertilizer-plant-reliability-pakistan/. DOI 10.5281/zenodo.24048577. The operator is described by class, never by name.

An ammonia and urea complex is built to run steadily between annual turnarounds. In 2026 a fertilizer manufacturer in Pakistan saw its complex stopped and restarted again and again by gas supply suspensions. Every restart is a thermal cycle, and every cycle spends equipment life that no single record shows. The question the design answers is simple to say: when the gas comes back after a two week suspension, what does this restart need, and which piece of equipment should be looked at before the start?

1. Twelve sources, one way in

Eight systems of record are read only: the distributed control system and its historian, the maintenance management system, the inspection and corrosion monitoring records, the vibration monitoring on the large compressors, the laboratory system, the shift log, the turnaround planning system, and the gas supply notice that triggers the restart agent. Fixed camera lanes at the reformer top deck, the synthesis compressor train and the bagging plant lane add sensing, and a citation check guards conversational answers.

Four adapter families cross the OT boundary through a hardware data diode carrying a one way file transfer. The read of the control system is physically one way, and nothing writes back.

2. Fourteen objects around one piece of equipment

The object model holds 14 typed objects and 10 typed links, with Equipment as the focal object, anchored on the equipment master and refreshed shift by shift. Around it sit the process unit, the historian tag, the trip, the restart and the thermal cycle, then the work order, inspection finding, corrosion reading, vibration reading, lab result, shift log entry, turnaround task and restart plan.

That shape is what lets one story be told per piece of equipment. The restart agent drafts the plan from the last three restarts, and the synthesis compressor seal is flagged for inspection before the start, because the trips, cycles, findings and readings that point at it are joined by typed links instead of sitting in five systems.

3. Open weights on a node the operator owns

GLM 5.3 at FP8 (753B, bespoke licence) runs the restart, cycle damage and turnaround drafting agents and the cited conversational interface. Chronos-2 (Apache 2.0) forecasts historian tags and thermal cycle stress residuals, BGE-M3 (MIT) embeds work orders, findings, readings and shift log entries for cited retrieval, and vision models on Frigate NVR and ONNX Runtime watch for steam plume, flange leaks, people, scaffolds and fire or smoke. No third party model service is called and nothing is trained into weights.

Compute is one node of eight 141 GB HBM cards, 1,128 GB in all, on new in country hardware the operator owns, holding 753 GB of FP8 weights at a 1.2 planning factor (904 GB). An air cooled site server inside the plant carries Chronos-2, BGE-M3 and vision, and an OCP Time Card grandmaster keeps one clock. The node is a 4A090 class item for a Country Group D:2, D:3 and D:4 destination, so the ECCN 3A090 and 4A090 licence determination is a phase one checkpoint before any card is quoted, with an approved in country data centre as the fallback.

4. Agents draft, named people decide

The shift superintendent confirms every step of the restart plan. The reliability engineer approves the cycle damage draft and the inspections it brings forward. The turnaround manager approves scope additions, and report packs for the insurer's engineer leave only through a controlled export path after a disclosure review. Every status change carries a name and a timestamp, and every confirmation is kept as memory the next restart reads.

Restart drafts run in shadow beside the standing written procedure until they measurably agree with it. The rollout is five phases carrying 16 scope items, each closed by a gate, never a date, and the pilot on the ammonia front end and the synthesis compressor train runs for one quarter including at least one restart, judged on four frozen baselines: hours from gas restoration to stable production, trips per restart, inspections brought forward with a confirmed finding, and reliability engineer hours per failure investigation.

5. What it costs

Appendix A prices ownership at about 572,000 US dollars over three years (542,000 to 610,000), against about 751,000 to rent the same eight cards on the deepest three year commitment in AWS Asia Pacific (Mumbai), so ownership costs about three quarters of it; on demand it is about 2.00 million. Renting is a price reference only: AWS lists no region in Pakistan, and every rented option would carry plant data across the border.

Made with CodeNinja Praxis, the CodeNinja Atoms platform for designing physical AI systems. The object model imports into Hyper Ontology. Paper, ontology and register: https://codeatoms.ai/fertilizer-plant-reliability-pakistan/