Blog

Measuring what a model is worth

Six months after a model goes into service, someone from finance asks a short question. What has it made us? It is a fair question and a very awkward one.

Date
Outcome
Yield

The comparison everybody reaches for

The obvious way to answer is to compare. Recovery in the six months before the model, recovery in the six months after, subtract, multiply by the price of the metal. It takes ten minutes and produces a large, pleasing number. I have seen it on a great many slides.

I have also seen what happens to it. A metallurgist at the back of the room clears his throat and observes that the ore got better in March. The grade went up, the hardness came down, and recovery would have risen if the model had been a potted plant. He is quite right. And the pleasing number is now worth nothing, because nobody can say how much of it belonged to the ore.

It cuts the other way just as often. The feed gets worse, recovery falls a little in spite of a model that is doing real good, and the same arithmetic shows the model losing money. I have known a useful system nearly switched off on those grounds.

The trouble is that a plant never runs the same six months twice. Feed changes, weather changes, a mill is relined, a new shift supervisor arrives with firm views. A before-and-after comparison credits or blames the model for all of it. Asking what the model made is really asking what would have happened without it. And that plant, the one without the model, was never run. Nobody has its data.

Borrowing a trick from medicine

Doctors met this problem long ago. Patients get better and worse on their own, so how do you know the pill did anything? Their answer was the trial: some get the pill, some do not, and you take care that the two groups are otherwise alike.

A plant can do something very similar, and it is the best evidence there is. Run with the model's advice for a few days, then without, then with, then without. Fix the switching schedule in advance, so nobody is tempted to turn the model on when the ore looks friendly. Over a couple of months the on-periods and the off-periods will have seen much the same mix of feed and weather and shifts, and the difference between them belongs to the model and to very little else.

People object that the off-periods are money thrown away. A little, yes, if the model is good. But consider the alternative, which is running it for years without knowing whether it works. I would think of the off-periods as the price of knowing. And the trial settles arguments. The metallurgist at the back has nothing to clear his throat about.

Building the plant that never ran

Sometimes switching is not possible. The model is part of a control scheme that cannot simply be pulled out, or the trial was not thought of in time. (It is usually the second.) Then the next best thing is to reconstruct the missing plant.

You take the period before the model existed and build a description of how the plant performed then, as a function of what it was given: this grade, this hardness, this throughput gave about this recovery. That description is the baseline. Now, for each day since the model was switched on, you ask the baseline what the old plant would have done with that day's feed, and set it beside what the plant did. The gap, averaged over months, is the model's contribution, with the ore's share taken out.

It is not as clean as a trial. The baseline has its own errors, and it knows nothing of changes it was not told about. So the answer should come with a range, and the range should be given along with the middle figure, even when the meeting would prefer one number. "Between half a point and a point and a half of recovery" is a result. "One point" is the same result with the doubt left out.

A few smaller cautions. Decide what will be measured, and how, before the model goes live. A yardstick chosen afterwards is always open to suspicion. Count what was given up as well as what was gained: more recovery bought with much more reagent is not all profit. And keep measuring. A model that paid its way last year may have drifted, and the plant around it may have changed.

I admit that all of this is more trouble than subtraction. But it is the difference between believing a model is worth something and knowing it. Where the prize is a fraction of a percent on a large tonnage, as it tends to be in work on yield and recovery, the gain is real money and yet far too small to see by eye among the ordinary ups and downs of a plant. It has to be measured properly or it will not be seen at all.

The person from finance, I find, takes this very well. Finance people know better than most how easily two periods can be made to compare favorably.