Case study
A soft sensor for phosphoric acid filtration
A leading multinational fertilizer company had a phosphoric acid reactor caught in a cycle of upsets. We built a soft sensor that shows operators how close the reactor and filter are to their best point, and recommends the next move.

A reactor caught in a cycle of upsets
Gypsum clusters kept the reactor in a cycle of upsets. Higher filtrate strength made it worse, because weak acid was recirculated to the reactor, and the filtration step ran below its best point. The client wanted to run at maximum feed rate and get the optimum yield.
- The filter washes acid out of the gypsum cake.
- The wash returns to the reactor as weak acid.
- Reactor
- Filter
- Product acid
- Weak acid recycle
- Gypsum
Data and methods
Data
We began with a pull of about 13 million data points and removed the anomalous ones. About 2,000 features were then generated from chemical principles, with feedback from the plant’s subject-matter experts.
Methods
XGBoost ranked the attributes. K-Means clustering identified the operating modes, and support vector machines smoothed the clusters and found the optimal operating points. Modes come first, because a reactor in upset and a reactor in control obey different rules.
A soft sensor that shows how close the plant is to its best point
Operators now have a soft sensor that tells them how close the system is to the inflection point of feed against filtrate. It shows the set point and how confident it is of the operating mode, and it recommends a move only when that confidence is above a set threshold.
~13Mdata points in the initial pullPlant data
~2,000features generated from chemical principlesFeatures